Re: Known issues about SpinButtons?



On Thursday, February 26, 2004, at 02:25 PM, Chris Phillips wrote:

I can see how this would relate to the widget visibly scrolling back down to 1 as each even is looped, but why should this happen in the first place? Sounds like a duffer in gtk2 somewhere.

can you post some example code?


is anyone aware of a way to visibly update a status bar while a long open("something |") call is running without using this approach? i'd be very grateful for any ideas.

use Glib::IO->add_watch() or Gtk2::Helper->add_watch() to add the open()ed file handle to the main loop's poll list. that way, you'll get a callback when data is available for reading, and the mainloop keeps going.

i would've sworn that was in the FAQ, but i would've been wrong.


--
elysse (in labor): is the head the biggest part?
midwife: yes.
elysse: oh, good.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]