problem with custom menu
- From: John Taber <jtaber johntaber net>
- To: gtkmm-list gnome org
- Subject: problem with custom menu
- Date: Fri, 22 Apr 2005 05:41:10 -0600
I'm having a problem with the newer way to use a custom menu - can someone
help out - thanks.
fileMenu = new Gtk::Menu();
openMenuItem = new Gtk::MenuItem("Open");
fileMenu->attach(*openMenuItem,0,0,0,0);
fileMenuItem = new Gtk::MenuItem("File", fileMenu);
menubar = new Gtk::MenuBar();
menubar->append(*fileMenuItem);
mainBox.pack_start(*menubar, Gtk::PACK_SHRINK);
: Gtk-CRITICAL **: file gtkmenu.c: line 3836 (gtk_menu_attach): assertion
`left_attach < right_attach' failed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]