Re: Can I make a fullscreen overlay without the top bar disappearing?
- From: Ross Burton <ross burtonini com>
- To: Dylan McCall <dylanmccall gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: Can I make a fullscreen overlay without the top bar disappearing?
- Date: Sun, 15 Jan 2012 08:50:15 +0000
On 15 January 2012 01:19, Dylan McCall <dylanmccall gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]