Yes, I know what an eventloop is, but I have background stuff going on in addition to making widgets work. Calling Tkx::update() was one way to keep widgets working in my manual MainLoop, and Tkx::i::DoOneEvent was another way. DoOneEvent is way too slow; it seems like it does ONE event each time it's called, and with the background stuff, the GUI is quite unresponsive.
The main problem is that I am not starting the timer. Tkx or Tcl/Tk (since Tkx is supposed to be just a wrapper for this) is starting it when the dropdown opens, and fails to stop it if the dropdown is closed in a way other than by clicking the down arrow or clicking in the entry field directly beside the down arrow.
I guess my question is how to stop that timer automatically. Or how to determine the timer number associated with that dropdown so I can manually cancel it with Tkx::after_cancel().
Tkx::i::DoOneEvent( DONT_WAIT | ALL_EVENTS ); looks like it could do what I need, but unfortunately I have been unable to Google how to get it to recognize ( DONT_WAIT | ALL_EVENTS ), or what their Tkx equivalent is.
In reply to Re^2: Tkx combobox error on quit
by Anonymous Monk
in thread Tkx combobox error on quit
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |