Top | ![]() |
![]() |
![]() |
![]() |
void xfce_gtk_window_center_on_monitor (GtkWindow *window
,GdkScreen *screen
,gint monitor
);
Centers window
on monitor
of screen
. monitor
has to reference a valid
monitor of screen
.
window |
The Gtk window to center. |
|
screen |
The screen on which the |
|
monitor |
The monitor of the |
Since 4.2
void
xfce_gtk_window_center_on_monitor_with_pointer
(GtkWindow *window
);
Determines the monitor that contains the pointer and centers the
window
on it. If it failes to determine the current pointer position,
window
is centered on the first monitor of the default screen on
the default display.