Re: Size of GtkMenu

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

 



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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux