[pygtk] Controlling the state of menus

Dag Brattli dagb@fast.no
Mon, 11 Sep 2000 09:37:18 GMT


I have problems finding out how to control menus after
you have created them. I have a toggle-item that I don't
know how to pre-set the state on, or how to set it after creation.

Also when I get a callback it's of type 
<GtkObject of type GtkCheckMenuItem at 8355038> which 
is not the same as a GtkCheckMenuItem obj, so I cannot
call any methods or read attribs.

Any hints please?

-- Dag
Dag Brattli,                       Mail:  Dag.Brattli@fast.no
Senior Systems Engineer            Web:   http://www.fast.no/
Fast Search & Transfer ASA         Phone: +47 776 96 688
P.O. Box 1126                      Fax:   +47 776 96 689
NO-9261 Tromsų, NORWAY             Cell:  +47 924 05 388