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)