Re: dynamic menus and the item factory



mcmahill mtl mit edu writes:
I've got a question about the item factory and menus.  I've created most
of my desired menu structure with the item factory which worked quite
nicely.  However, I want to have a "Window" menu  that pulls up a list of
all open windows so I can select the desired one and bring it to the
front.  So my question is, can I somehow access that menu since the entire
menu structure was created with the item factory?  Or do I need to do the
entire thing by hand?

Use item factory to create an empty Window menu, then call
gtk_item_factory_get_widget() to get that menu, then manually add menu
items for each window.

Havoc




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