I have a dialog opening when I press a button in my application and I want it to center above the application's main window, but I can't find a way to do this. I'm using Quickly (Python) and Glade.
In Glade I've tried the following settings:
- Window Type = Popup
- Modal = Yes
- Window Position = Center on Parent
But I simply can't get the behaviour I'm after. When using the "Window Type" option "Top level" the dialog opens in the center of the screen. When I use "Window Type" = "Popup" it opens in the very top left corner, with the window controls unaccessible.
I know this must be a very basic setting but I've just started developing with GTK and Python so I obviously managed to miss this.
Thanks for any advice! :)