Re: How to make menu insensitive



After setting up the menu with the item factory I use
gtk_item_factory_get_widget ()
to get the widget that's created with the path of the item I want.

Then (if, say, it's a check-box item) you can call

gtk_check_menu_item_set_active (...)

might not be the best method, but works for me.

Craig.

Deekshit Mantampady wrote:

Hi,

 I am using "GtkItemFactory" to create menus. I want to know How I
enable or disable, make it visible or invisible, dynamically. Can
anybody help me to find out solution.

Regards
Deekshit M







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]