[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Fw: update delay related to TkOptionMenu

R. Mark Volkmann

11/17/2004 12:26:00 PM

> ----- Original Message -----
> From: "Hidetoshi NAGAI" <nagai@ai.kyutech.ac.jp>
> To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
> Sent: Sunday, November 14, 2004 10:11 PM
> Subject: Re: update delay related to TkOptionMenu
>
>
> Hi,
>
> From: "Mark Volkmann" <volkmann2@charter.net>
> Subject: Re: update delay related to TkOptionMenu
> Date: Mon, 15 Nov 2004 12:49:41 +0900
> Message-ID: <045201c4cac6$256ea4c0$0200a8c0@MarkDesktop>
>> > Could you tell me your environment?
>>
>> Windows XP SP 2
>
> Not enough. :-)
> Ruby's version (result of 'ruby -v') and Tcl/Tk's version
> (result of 'ruby -r tk -e "p Tk::TK_PATCHLEVEL"') are required.

Sorry about that.

ruby -v gives
ruby 1.8.2 (2004-11-06) [i386-mswin32]

ruby -r tk -e "p Tk::TK_PATCHLEVEL" gives
"8.3.2"

Your suggestion to use option_var.trace('w') worked.
Thank you very much!



2 Answers

Hidetoshi NAGAI

11/17/2004 2:46:00 PM

0

R. Mark Volkmann

11/17/2004 2:57:00 PM

0

Quoting Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>:

> From: "R. Mark Volkmann" <mark@ociweb.com>
> Subject: Fw: update delay related to TkOptionMenu
> Date: Wed, 17 Nov 2004 21:25:34 +0900
> Message-ID: <013301c4cca0$87458390$0200a8c0@MarkDesktop>
> > ruby -v gives
> > ruby 1.8.2 (2004-11-06) [i386-mswin32]
> >
> > ruby -r tk -e "p Tk::TK_PATCHLEVEL" gives
> > "8.3.2"
>
> It is 1.8.2-preview3, isn't it?

I'm using the latest version of the Windows one-click installer.

> If without patch, combination of this version and Tcl/Tk8.3.x
> has a trouble.
> Please see [ruby-talk:119637].
>
> If you can compile 1.8.2-preview3 by yourself,
> I recommend you to compile it with ActiveTcl8.4.7.
> Then, you'll be able to use some Tk extensions on your Ruby/Tk.

I'd like to stay away from building Ruby myself if possible. Since the trace
workaround you suggested is doing what I need, I think I'll wait for a future
version of the one-click installer to get a newer version of ActiveTcl.

> You can see the screen shot, when some tkextlib demos are running,
> on my article of "Rubyist Magazine vol.0003"
> <http://jp.rubyist.net/magazine/?0003-RubyTkMo....

I'm looking forward to the English translation of your article.

Thanks for your help!

--
R. Mark Volkmann
Partner, Object Computing, Inc.