get gtk menubar title



Hello,

I had some problems with using Gtk-- menu system. Your
help will greatly appreciated.

First, it looks there is no function to get the title
of the menu/menuitem (there is a function to set_title
though). If I have a function which takes a menu name
and item name, how can I check whether the menu or the
item has already exist on the menu bar.

Second, why *(menubar->items().begin()) and
*(menu->items().begin()) will both return menuitem*?
Shouldn't the first return Menu*? How can I traverse
the menus given a menubar pointer in that case?

Thank you very much,

Feng




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




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