new modern tutorial for Ruby Tk GUI programming

M

Mark Roseman

Current, up-to-date tutorial documentation for Ruby Tk is very sparse,
especially for newer features like the themed widgets. I've been
working on a website that I hope helps fill some of those gaps. You can
find it here:

http://www.tkdocs.com

Please check it out, and in particular the tutorial, which covers the
more modern "best practices" with using Tk. It gives equal coverage to
using Tk both from Tcl and from Ruby (you can turn either off of
course), so you don't have to try to translate from Tcl-oriented
documentation to figure out how to do things in Ruby.

I hope some people here will find this helpful. Any corrections,
contributions or comments definitely appreciated!

Thanks
Mark
 
L

Len Lawrence

Current, up-to-date tutorial documentation for Ruby Tk is very sparse,
especially for newer features like the themed widgets. I've been
working on a website that I hope helps fill some of those gaps. You can
find it here:

http://www.tkdocs.com

Please check it out, and in particular the tutorial, which covers the
more modern "best practices" with using Tk. It gives equal coverage to
using Tk both from Tcl and from Ruby (you can turn either off of
course), so you don't have to try to translate from Tcl-oriented
documentation to figure out how to do things in Ruby.

I hope some people here will find this helpful. Any corrections,
contributions or comments definitely appreciated!

Thanks
Mark

Yes, a very big thank you Mark for this very timely exposition. I have
just recently started using Ruby after 16 years of Tcl/Tk and am finding
your tutorial and references invaluable. The documentation has given me
a handle on a problem which has dogged me since Mandriva switched from
Tk8.5.0 to Tk8.5.1. Tcl/Tk with legacy code works flawlessly but ruby-tk
now breaks down. I used your examples to demonstrate that the ttk themed
widgets can be used without a problem but legacy widgets cause an
immediate core dump, in Linux at least. So, is there anything extra that
needs to be done in ruby scripts to enable support for the old style
widgets?

Len
 
L

Len Lawrence

Yes, a very big thank you Mark for this very timely exposition. I have
just recently started using Ruby after 16 years of Tcl/Tk and am finding
your tutorial and references invaluable. The documentation has given me
a handle on a problem which has dogged me since Mandriva switched from
Tk8.5.0 to Tk8.5.1. Tcl/Tk with legacy code works flawlessly but
ruby-tk now breaks down. I used your examples to demonstrate that the
ttk themed widgets can be used without a problem but legacy widgets
cause an immediate core dump, in Linux at least. So, is there anything
extra that needs to be done in ruby scripts to enable support for the
old style widgets?

Len

As posted in another thread, problem solved by installing ruby1.8.7.

Len
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top