[Gambas-user] MenuButton quirk, event inside event(gtk)

BB adamnt42 at gmail.com
Mon Nov 21 16:03:29 CET 2022


On 22/11/22 12:00 am, Bruce Steers wrote:
> Or is it just a bug in gb.gtk as this does not happen with QT only 
> gtk2 & gtk3

The words (that I live by) "*eschew GTK*" leap to mind here. 😷 (Which 
is probably why your original great idea works so well here!)

> Could this be a "You shouldn't do that inside an event handler" type 
> of thing?
Did you mean?
> Could this be a "You shouldn't *ever ever ever *do that inside an 
> event handler" type of thing?
... "and it's No, nay, never, No, nay never again will I ever stick 
events inside event handlers", unless I forget and then wonder about the 
stack overflows or other strange and exotic happenings that occur 
unexpectedly and without prior notice or even a hint of the slightest 
sign of concern for the sanity of your average Aussie Gambas coder .

and it's only Tuesday.

b

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221122/770632d7/attachment.htm>


More information about the User mailing list