[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

new modern tutorial for Ruby Tk GUI programming

Mark Roseman

6/7/2008 10:47:00 PM

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....

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
3 Answers

Ravil Bayramgalin

6/7/2008 11:35:00 PM

0

Great, thank you very much!

2008/6/8, Mark Roseman <mark@markroseman.com>:
> 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....
>
> 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
>
>

Len Lawrence

6/9/2008 6:59:00 AM

0

On Sat, 07 Jun 2008 18:46:44 -0400, Mark Roseman wrote:

> 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....
>
> 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

Len Lawrence

6/10/2008 5:13:00 PM

0

On Mon, 09 Jun 2008 06:58:55 +0000, Len Lawrence wrote:

> On Sat, 07 Jun 2008 18:46:44 -0400, Mark Roseman wrote:
>
>> 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....
>>
>> 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

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

Len