Package: gtk

Function gtk-widget-display

Lambda List

gtk-widget-display (widget)

Arguments

widget -- a gtk-widget object

Return Value

The gdk-display object for the toplevel for this widget.

Details

Get the display for the toplevel window associated with the widget. This function can only be called after the widget has been added to a widget hierarchy with a gtk-window widget at the top.

In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.
 

See also

*2021-10-31