GtkWindowPosition

GtkWindowPosition

Enums

Value

Symbolic name

Description

  0GTK_WIN_POS_NONE Default state. This setting uses the default window gravity on the underlying windowing system to determine the position of the window. This generally results in the window being mapped from the top left corner of the screen.
  1GTK_WIN_POS_CENTER Places the window over the center of the screen.
  2GTK_WIN_POS_MOUSE Draws the window at the point of the mouse cursor. This is useful for popup menus or similar widgets initiated by a mouse-click.
  3GTK_WIN_POS_CENTER_ALWAYS Places the window over the center of the screen and keeps those co-ordinates stored in memory, so that a redraw following a move elsewhere will reposition the window at the center.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.