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 of this widget.

Details

Gets 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.
 

See also

2025-2-13