WindowGroup

open class WindowGroup(pointer: <Error class: unknown class><<Error class: unknown class>>)

GtkWindowGroup makes group of windows behave like separate applications.

It achieves this by limiting the effect of GTK grabs and modality to windows in the same group.

A window can be a member in at most one window group at a time. Windows that have not been explicitly assigned to a group are implicitly treated like windows of the default window group.

GtkWindowGroup objects are referenced by each window in the group, so once you have added all windows to a GtkWindowGroup, you can drop the initial reference to the window group with g_object_unref(). If the windows in the window group are subsequently destroyed, then they will be removed from the window group and drop their references on the window group; when all window have been removed, the window group will be freed.

Constructors

Link copied to clipboard
constructor()

Creates a new GtkWindowGroup object.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkWindowGroupPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun addWindow(window: Window)

Adds a window to a GtkWindowGroup.

Link copied to clipboard
open fun listWindows(): <Error class: unknown class>

Returns a list of the GtkWindows that belong to @window_group.

Link copied to clipboard
open fun removeWindow(window: Window)

Removes a window from a GtkWindowGroup.