[fxruby-users] about a raddio-button in fxruby

Philippe Lang philippe.lang at attiksystem.ch
Tue Dec 12 10:37:41 EST 2006


fxruby-users-bounces at rubyforge.org wrote:

> On Dec 12, 2006, at 7:33 AM, freeman wrote:
> 
>> Good day, Lyle!
>> Thanks a lot for your job!!!
>> I have one question - when I click on a radio-button, it switches so
>> slowly.. is it bug? or it should be so? (I've tried different
>> version under different operation systems)
> 
> It shouldn't be especially slow, but it depends on how long
> it takes for the GUI to get time scheduled to it. If your
> application isn't using threads, you might try turning off FXRuby
> support for Ruby threads:
> 
> 	app.threadsEnabled = false
> 
> Another option would be to look at Joel VanDerWerf's FoxTails library
> (see RAA for this). 
> 
> Hope this helps,

Maybe another option is to use:

app.forceRefresh

This works fine for me.

By the way, Lyle, I think Fox 1.7 has got a new event-dispatch structure being put in place, based on a new FXReactor class, right? This is supposed to speed-up the refresh?

---------------
Philippe Lang
Attik System

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3125 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20061212/f55f53be/attachment.bin 


More information about the fxruby-users mailing list