Forum und email

GtkWindowPosition

Window placement can be influenced using this enumeration.

Стойност

Символично име

Описание

  0Gtk::WIN_POS_NONE No influence is made on placement.
  1Gtk::WIN_POS_CENTER Windows should be placed in the center of the screen.
  2Gtk::WIN_POS_MOUSE Windows should be placed at the current mouse position.
  3Gtk::WIN_POS_CENTER_ALWAYS Keep window centered as it changes size, etc.
  4Gtk::WIN_POS_CENTER_ON_PARENT Center the window on its transient parent (see set_transient_for() ).