get_display
Description:
Get the display for the window that the widget belongs to.
This function can only be called after the widget has been added to a widget hierarchy with a `GtkRoot` 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.
Parameters:
this |
a widget |
Returns:
the display for this widget |