Hi Mariano,
Just call gtk_menu_popup() and it'll position the menu away from the screen
edges for you.
https://developer.gnome.org/gtk3/stable/GtkMenu.html#gtk-menu-popup
John
On 13 March 2013 04:05, Mariano Gaudix marianocordobar...@gmail.com wrote:
Hello how i can determine the size of
Hello .
Is not a menu-popup .
I use a window-popup .
GTK_WINDOW_POPUP is used to implement widgets such as GtkMenu or
tooltips .
https://developer.gnome.org/gtk3/stable/GtkWindow.html
I am creating a mockupwith window-popup thatcontains
scrollbar , and other
Hi again,
You can connect to the map event. This happens after the window has been
realized and just before the window appears on the screen, so the size has
been calculated.
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-map
In ::map, change window x/y to move it away from
Hello how i can determine the size of a window-popup hidden ? ¿ Or how
i can make window-popup behaves as a menu.
I have a problem.
if the botton to activate the window is in the low position of the screen
, the window-popup , is not shown above of the botton ..
see the code and