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 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 video of the widget > > > http://depositfiles.org/files/4e2ip0pfw > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list