Package: gtk

Function gtk-widget-parent-window

Lambda List

gtk-widget-parent-window (widget)

Syntax

(gtk-widget-parent-window widget) => window
(setf (gtk-widget-parent-window widget) window)

Arguments

widget -- a gtk-widget object
window -- a gdk-window parent window

Details

Accessor of the parent window of the widget.

The gtk-widget-parent-window function gets the parent window of the widget. The (setf gtk-widget-parent-window) function sets a non default parent window for the widget.

For gtk-window classes, setting a parent window effects whether the window is a toplevel window or can be embedded into other widgets.

Note

For gtk-window classes, this needs to be called before the window is realized.
 

See also

2021-9-16