EuGTK: GtkCheckMenuItem
- Posted by Jerry_Story Feb 23, 2012
- 1807 views
Everything is showing up in the menu bar except GtkCheckMenuItem.
MenuRaw = create(GtkCheckMenuItem,"new_with_label=>Raw only, no cooked"), MenuNoSalt = create(GtkCheckMenuItem,"new_with_label=>No Salt"), MenuNoDried = create(GtkCheckMenuItem,"new_with_label=>No Dried"),
grep finds examples of GtkRadioMenuItem but no examples of GtkCheckMenuItem.
/demos$ grep RadioMenu *.ex test25.ex: editradio1 = create(GtkRadioMenuItem,0,"Normal","SetColors",NORM), test25.ex: editradio2 = create(GtkRadioMenuItem,editradio1,"Inverse","SetColors",INVERSE), test25.ex: editradio3 = create(GtkRadioMenuItem,editradio2,"Grn/Blk","SetColors",GRNBLK) /demos$ grep CheckMenu *.ex /demos$How do you do GtkCheckMenuItem?