gtk_window_center_on_active_screen


Description:


public void gtk_window_center_on_active_screen (Window window)

Determines the screen that contains the pointer and centers the window on it.

If it failes to determine the current pointer position, window is centered on the default screen.

This function only works properly if you call it before realizing the window and you haven't set a fixed window position using move.

See also: gdk_screen_get_active.

Parameters:

window

the Window to center.


Namespace: Xfce
Package: libxfce4ui-2