Re: [gtkmm] my toolbar stays flat and doesn't show my buttons inside



On Thu, 2004-06-24 at 20:15 +0200, Murray Cumming wrote:
> On Thu, 2004-06-24 at 15:39 +0200, cedric wrote:
> > hi !
> > i've passed into version 2.4 of GTKMM and the toolbars doesn't work the 
> > same as former versions.
> > So i tried that :
> >  ...
> >        Gtk::ToolButton* toolbutton;
> >         toolbutton = Gtk::manage(new Gtk::ToolButton("NEW\nCOMPANY"));
> >         toolbutton->signal_clicked().connect( 
> > sigc::ptr_fun(&collaborators::add_company));
> >         toolbarmod.append(*toolbutton);
> >   ...
> > and in a file included :
> >         Gtk::Toolbar toolbarmod;
> 
> I can't see a problem here, so I can only suggest a simple-as-possible
> compileable test case.

Maybe you just need to show() the toolbutton.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com





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