Package: gtk

Accessor gtk-widget-window

Lambda List

gtk-widget-window (object)

Syntax

(gtk-widget-window object) => window

Arguments

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

Details

Accessor of the window slot of the gtk-widget class.

The gtk-widget-window slot access function returns the GDK window of the widget if it is realized, nil otherwise.

Lisp implementation

The window slot is only readable. The C library has the gtk_widget_set_window() function to set a GDK window. This function is only used in a "realize" implementation of a widget and not implemented in the Lisp library.
 

See also

*2021-10-31