[maemo-developers] Empty menu with GtkMenuToolButton
From: Daniel Martin Yerga dyerga at gmail.comDate: Wed Jul 8 16:49:27 EEST 2009
- Previous message: Empty menu with GtkMenuToolButton
- Next message: extras-assistant trouble
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi. On Wed, 08 Jul 2009 14:38:43 +0200 Konrad Anton <konrad at minus1.de> wrote: > Hello all, > > I'm trying to use a GtkToolButton to get a pop-up menu popping up > from the toolbar. > > The following example shows the problem I'm experiencing: the toolbar > is correctly populated with one toolbutton and one arrow to the right > of it, but when I click the arrow, an empty menu pops up (a square of > roughly 30 pixels, surrounded by a menuish frame). The size of the > square seems not to be influenced by how many menu entries I create. > > [snip code] > > I probably just missed a call to gtk_bla_set_blub() somewhere, but I > can't figure out correct values for bla and blub. Any help would be > appreciated. > Add the following to the code: gtk_widget_show_all(GTK_WIDGET(toolbar_popup_menu)); -- Daniel Martin Yerga http://yerga.net
- Previous message: Empty menu with GtkMenuToolButton
- Next message: extras-assistant trouble
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]