Re: Size of GtkMenu

Hello. How I can request size change on GtkMenu? gtk_widget_queue_resize() does not working.
Let's describe a problem. After user clicked on a button, menu for it will requested from DBus, I am started asynchronously populate GtkMenu on finish request. And after population menu becomes will be very small (2-3 menuitems in height) with 2 arrows on top and bottom (But it is popuated correctly, all items on places). And will stays the same all its lifetime (before destruction).
But in very rare cases (when populating is very very fast) I can see normal full menu without an arrows (All 15 items is on screen).
Is there any way to force menu resize from arrows-version to full version? I tried gtk_widget_queue_resize(), but it not work.

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