Re: MenuItemFactory: shadow entry



Pallucchini Roberto wrote:

but, is possible i can't set an entry in the MenuFactoryItemEntry
shadowed (disable)? i haven't see an item_type for this function...

thanks.........................

Hello :)
Use gtk_item_factory_get_widget() function to obtain pointer to item you need,
and then use gtk_widget_set_sensitive() to disable/enable it.

Olexiy





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