On 15 January 2012 01:19, Dylan McCall <[email protected]> wrote: > One might observe I can use Gtk.Window.maximize(), but I can't do that > with a popup, and the toplevel approach demands I do all sorts of > weird things like set_accept_focus(false) to prevent the user from > pressing Ctrl+Alt+Down and unsticking the overlay. And, unless I'm > mistaken, there's no clean way of knowing what dimensions a maximized > window will have. The only thing I can really get my popup to be is > fullscreen or some safe number like 90% of screen height.
Have a look at the properties on the root window and you'll find the available "work area", see http://standards.freedesktop.org/wm-spec/1.3/ar01s03.html Ross _______________________________________________ gnome-shell-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-shell-list
