Re: EuGTK: check_menu_item

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerry_Story said...

dmak.exw:4768): Gtk-CRITICAL **: gtk_check_menu_item_get_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed 
The line number is useless. I don't see a demo on this. How can I get a clue?

This error message indicates that the 'handle' you passed was not recognized as being an item in the GtkCheckMenuItem class. I'd have to know how you are obtaining that handle to see if it's a bug in EuGTK (most likely, but easily fixed) - or some other bug.

There's a classname() function in GtkEngine.e which returns the class of a handle - try

display(classname(x))

where x is the handle at a point just before the error. If you get a 'subscript -1 is out of bounds...' error, then the handle is invalid/not registered. If that's the case, I'll have to figure out why.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu