Package: gtk
Function gtk-widget-root-window
Lambda Listgtk-widget-root-window (widget) ArgumentsReturn ValueThe gdk-window root window for the toplevel for this widget. Details
Get the root window where the widget is located.
This function can only be called after the widget has been added to a widget hierarchy with a gtk-window widget at the top. The root window is useful for such purposes as creating a popup gdk-window object associated with the window. 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. Warning | See also |
2021-9-20