Hi.

On Wed, 08 Jul 2009 14:38:43 +0200
Konrad Anton <[email protected]> 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
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to