Package: gtk

Function gtk-window-present

Lambda List

gtk-window-present (window)

Arguments

window -- a gtk-window widget

Details

Presents a window to the user. This may mean raising the window in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the platform, window manager, and preferences of the user.

If the window is hidden, this function calls the gtk-widget-show function as well.

This function should be used when the user tries to open a window that is already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time. Use this function to move the already open dialog where the user can see it.

If you are calling this function in response to a user interaction, it is preferable to use the gtk-window-present-with-time function.
 

See also

2021-9-12