GtkWindow.
WARNING: gtk_widget_set_uposition is deprecated and should not be used in newly-written code.
gtkWidgetSetUposition(object, x, y)objectxygtkWindowSetTransientFor, and it's really not
possible to get the centering to work correctly in all cases from
application code. But if you insist, use gtkWindowSetPosition
to set GTK_WIN_POS_CENTER_ON_PARENT, don't do the centering
manually.
Note that although x and y can be individually unset, the position
is not honoured unless both x and y are set.