Package: gtk
Accessor gtk:widget-root
Lambda Listgtk:widget-root (object) SyntaxArgumentsDetails The accessor for the root slot of the gtk:widget class returns the gtk:root widget of the widget. This function will return nil if the widget is not contained inside a widget tree with a root widget. The gtk:root widget will return itself here. See the gtk:window-destroy function for an example
of how this function can be used in a signal handler to get the toplevel
window. | See also |
2025-09-26