Re: MenuItem activate signal

2009-02-06 Thread Carlos Pereira
I am fairly experienced with sensitive/insensitive states in Menuitems in old Option Menus and new Combo Boxes, but I am not sure in which context your Menuitem appears... Could you explain what is the parent of your MenuItems? perhaps with a very small bit of code showing how they are

MenuItem activate signal

2009-02-06 Thread dhk
I have a callback that is called when a MenuItem is selected, but in the callback the paramenter is which is suppose to be the MenuItem is NULL. The callback signature is void user_function (GtkMenuItem *menuitem, gpointer user_data). What I want to do is set menuitem to be insensitive when

Re: MenuItem activate signal

2009-02-06 Thread dhk
Carlos Pereira wrote: I am fairly experienced with sensitive/insensitive states in Menuitems in old Option Menus and new Combo Boxes, but I am not sure in which context your Menuitem appears... Could you explain what is the parent of your MenuItems? perhaps with a very small bit of code