Thanks to all who gave the GUI advice earlier. I think I will start with
Ruby-Tk, since I am new at Ruby and Tk is a much lighter weight GUI
builder than some of the others. And, I know Perl-Tk very well.
So far there is no Ruby-Tk book and I have been googling for examples. I
have collected enough to tell that Ruby-Tk works and looks just fine.
But...
I have found lists and examples of the common widgets - buttons,
listboxes, etc - but they are fairly trivial examples. Each (Perl) TK
widget has many options and parameters and some have a ton of them. I
don't know enough Ruby yet to make it obvious how to convert a parameter
from Perl-Tk to Ruby-Tk.
Searching the main Ruby docs I have found the TK classes and libraries,
but as far as I can tell, the only info they give is the library
routine(s) that is called. I could trace the calls back and then take the
called source apart, but I am not into self inflicted pain.
Where are Ruby-Tk'ers getting the detailed info on each widget?
Thanks to all who gave the GUI advice earlier. I think I will start with
Ruby-Tk, since I am new at Ruby and Tk is a much lighter weight GUI
builder than some of the others. And, I know Perl-Tk very well.
So far there is no Ruby-Tk book and I have been googling for examples. I
have collected enough to tell that Ruby-Tk works and looks just fine.
But...
I have found lists and examples of the common widgets - buttons,
listboxes, etc - but they are fairly trivial examples. Each (Perl) TK
widget has many options and parameters and some have a ton of them. I
don't know enough Ruby yet to make it obvious how to convert a parameter
from Perl-Tk to Ruby-Tk.
Searching the main Ruby docs I have found the TK classes and libraries,
but as far as I can tell, the only info they give is the library
routine(s) that is called. I could trace the calls back and then take the
called source apart, but I am not into self inflicted pain.
Where are Ruby-Tk'ers getting the detailed info on each widget?
Thanks again.
Evman
A lot of them buy the Perl/Tk book and do a mental translation.
EVMan wrote:
> Thanks to all who gave the GUI advice earlier. I think I will start with
> Ruby-Tk, since I am new at Ruby and Tk is a much lighter weight GUI
> builder than some of the others. And, I know Perl-Tk very well.
> So far there is no Ruby-Tk book and I have been googling for examples. I
> have collected enough to tell that Ruby-Tk works and looks just fine.
> But...
> I have found lists and examples of the common widgets - buttons,
> listboxes, etc - but they are fairly trivial examples. Each (Perl) TK
> widget has many options and parameters and some have a ton of them. I
> don't know enough Ruby yet to make it obvious how to convert a parameter
> from Perl-Tk to Ruby-Tk.
> Searching the main Ruby docs I have found the TK classes and libraries,
> but as far as I can tell, the only info they give is the library
> routine(s) that is called. I could trace the calls back and then take the
> called source apart, but I am not into self inflicted pain.
> Where are Ruby-Tk'ers getting the detailed info on each widget?
> Thanks again.
> Evman
You could try using some of the Python Tkinter tutorials on the Net
and translate to Ruby. There's one from Fredrik Lundh: