gtkWindowSetKeepAbove: gtkWindowSetKeepAbove

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Asks to keep window above, so that it stays on top. Note that you shouldn't assume the window is definitely above afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support keeping windows above. But normally the window will end kept above. Just don't write code that crashes if not.

Usage

1
gtkWindowSetKeepAbove(object, setting)

Arguments

object

a GtkWindow

setting

whether to keep window above other windows

Details

It's permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially.

You can track the above state via the "window-state-event" signal on GtkWidget.

Note that, according to the Extended Window Manager Hints (http://www.freedesktop.org/Standards/wm-spec) specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.