Widget.getNative

gtk.native.Native getNative()

Returns the nearest [gtk.native.Native] ancestor of widget.

This function will return null if the widget is not contained inside a widget tree with a native ancestor.

[gtk.native.Native] widgets will return themselves here.

Returns

the [gtk.native.Native] ancestor of widget