Re: EuGTK - get_active?

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

I don't see any mention of an optional checkbox, just an optional image: http://library.gnome.org/devel/gtk/unstable/GtkImageMenuItem.html

This would be the check menu item here: http://library.gnome.org/devel/gtk/unstable/gtk3-gtkcheckmenuitem.html#GtkCheckMenuItem

ck1 = create(GtkCheckMenuItem,"new_with_label=>Open"), 

The above creates a check menu item with the label "Open"

"new_with_mnemonic=>Hello _World!" creates one with a hotkey = W

I've looked for examples which use both a checkbox and an image, and haven't found any. If you need something that implements both an image and a checkbox, you may have to create a plain GtkMenuItem and then pack your own image and checkbox into it.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu