getNative

open fun getNative(): Native?

Returns the nearest GtkNative ancestor of @widget.

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

GtkNative widgets will return themselves here.

Return

the GtkNative ancestor of @widget