get_root_window
Description:
[ Version ( deprecated = true , deprecated_since = "3.12" , since = "2.2" ) ]
public unowned Window get_root_window ()
public unowned Window get_root_window ()
Warning: get_root_window is deprecated since 3.12.
Get the root window where this widget is located.
Note:
Use get_root_window instead
This function can only be called after the widget has been added to a widget hierarchy with Window at the top.
The root window is useful for such purposes as creating a popup Window 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.
Parameters:
this |
a Widget |
Returns:
the Window root window for the toplevel for this widget. |