[gnomemm] How to make my own Menu Items ? help!!!



I am writing a gnome application. I use gnomemm-1.2.

I use Gnome::App, since it is easier to set up the window items. Now i want to make the menu. But I found there is only limited set of MenuItem(Save,Open,Close,Copy...). Now I want to make my own menu items, say "Next Solution". I know for "Exit" can be implement like this:

vector<Gnome::UI::Info> menu_file;
menu_file.push_back(Gnome::MenuItems::Exit(slot(this, &TreeApp::on_menu_file_exit)));

How can I implement my menu items that are not predefined?? Urgent, anybody help me???

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn



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