Set fullscreen windows to go over gnome-shell’s (and Unity’s) top panel (top bar) with python/C++ and Glade

I know that there’s a function called fullscreen() that you can call on a window to set it fullscreen. I also know that my screen resolution is 1920×1080, so I supposed that explicitly setting the window’s height and width to the exact screen size would have forced mutter to put my window above everything else.


No, it doesn’t. There’s a sneaky little option called Window Type that has to be set to Popup to make gnome’s top bar surrender and let your window dominate the screen. You can find it in the General tab in Glade (it’s the third field in Glade 3.10.0, I don’t know about the other versions).

Is this some kind of common knowledge that doesn’t have to be put on tutorials? I find the lack of documentation on GTK+3 disturbing.. šŸ™‚ (I know that the API is quite well documented, but we’re still missing the plethora of examples you can find for GTK+2 on the web)


6 thoughts on “Set fullscreen windows to go over gnome-shell’s (and Unity’s) top panel (top bar) with python/C++ and Glade

  1. I have been scraping for clues to this for months!

    Does it mean that any application which does not set it’s full-screen window to type “Popup” will appear under the panel?

    In Ubuntu’s Unity, the panel appears over all full-screen windows and is completely non-fuctional since input is correctly given to the full-screen window.

    I’ve had a lot of difficulty communicating about this issue because of loose terminology and misconceptions, but it sounds symptomatic of exactly what you describe.


    • Well, it seems that windows whose type is not set to “popup” may appear over the panel or not in Unity, and definitely go under the top panel in gnome-shell.

      When the window is not set as ‘popup’ in Unity if it does appear over the panel its behavior is not very consistent, as alt-tabbing out of the app and back to it makes the top panel come back over the full screen window. The only way I found to fix this is to use the ‘popup’ type.

      Yes, the lack of discussion about GTK+3 (I mean, tutorials, manuals, messageboards and the like) is quite disheartening.. and it makes dealing with little glitches like this very very hard.. I hope I’ll be able to contribute a little while developing my GTK+3 app in the next months..


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s