Re: problem with custom menu

Okay, best that I can determine is that MenuItem is missing a constructor:
MenuItem(Glib::ustring label, Gtk::Menu menu)
this constructor would allow a menuitem (in my case "fileMenuItem") to be 
constructed with a menu ("fileMenu") and then added to the menubar.  That's 
how it is shown in the XFC documentation.  I don't know how else to attach a 
menu to the Menubar.

On Friday 22 April 2005 11:15, Murray Cumming wrote:
> On Fri, 2005-04-22 at 11:03 -0600, John Taber wrote:
> > Huh?  I'm simply trying to build a simple menu and "::attach" with the
> > table coordinates is exactly what is in the gtkmm API documentation
> > (under widgets/menu) and what compiles (menu->append will not compile for
> > me).
> What compilation error do you get?
> >  I
> > don't want to use actions for several reasons related to what other
> > widgets I want on a toolbar
> I'd like some discussion/bugzilla for anything that the UIManager can't
> do, so we can make it do it, if necessary.
> However, here's an earlier version of one of the Menu examples, using
> the old API. Maybe it's helpful:

John Taber, Ph.D.
P.O. Box 71949
Salt Lake City, UT 84171

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