By setting the type hint for the window, you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application.
This function should be called before the window becomes visible.
gtk.dialog.Dialog.newWithButtons and other convenience functions in GTK+ will sometimes call gtk.window.Window.setTypeHint on your behalf.
the window type
By setting the type hint for the window, you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application.
This function should be called before the window becomes visible.
gtk.dialog.Dialog.newWithButtons and other convenience functions in GTK+ will sometimes call gtk.window.Window.setTypeHint on your behalf.