Re: [glade--]Possible bug in menu writer
- From: Christof Petig <christof petig-baender de>
- To: Mark Jones <mark jones106 verizon net>
- Cc: glademm-list gnome org
- Subject: Re: [glade--]Possible bug in menu writer
- Date: Mon, 21 Oct 2002 11:32:21 +0200
Mark Jones wrote:
This is something that I keep running across using Glade 2 and glademm-1.1.1c
I have created a standard gtkmm/gnome menubar, and the source for it keeps getting written out incorrectly for just one thing.
This: menubar1->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-help"), *help1_menu));
Should be: menubar1->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-help")));
I get compile errors without that change.
I think it has to do with a menubar push_back on a stock menu item, because the other cases below it writes correctly:
settings1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-preferences")));
help1_menu->items().push_back(Gtk::Menu_Helpers::MenuElem("_About"));
menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("_File", *menuitem1_menu));
I hope this is enough info to understand the problem. Let me know if not! :)
I understand the problem, but it's not easy to design a fix. Perhaps
stock menu items with submenus are not designed for in gtkmm2. I hope I
this guess is wrong.
Christof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]