gtk.native.Native is the interface implemented by all widgets that have their own gdk.surface.Surface.
The obvious example of a gtk.native.Native is gtk.window.Window.
Every widget that is not itself a gtk.native.Native is contained in one, and you can get it with gtk.widget.Widget.getNative.
To get the surface of a gtk.native.Native, use gtk.native.Native.getSurface. It is also possible to find the gtk.native.Native to which a surface belongs, with gtk.native.Native.getForSurface.
In addition to a gdk.surface.Surface, a gtk.native.Native also provides a gsk.renderer.Renderer for rendering on that surface. To get the renderer, use gtk.native.Native.getRenderer.
Returns the renderer that is used for this gtk.native.Native.
Returns the surface of this gtk.native.Native.
Retrieves the surface transform of self.
Realizes a gtk.native.Native.
Unrealizes a gtk.native.Native.
gtk.native.Native is the interface implemented by all widgets that have their own gdk.surface.Surface.
The obvious example of a gtk.native.Native is gtk.window.Window.
Every widget that is not itself a gtk.native.Native is contained in one, and you can get it with gtk.widget.Widget.getNative.
To get the surface of a gtk.native.Native, use gtk.native.Native.getSurface. It is also possible to find the gtk.native.Native to which a surface belongs, with gtk.native.Native.getForSurface.
In addition to a gdk.surface.Surface, a gtk.native.Native also provides a gsk.renderer.Renderer for rendering on that surface. To get the renderer, use gtk.native.Native.getRenderer.