get_native


Description:

public unowned Native? get_native ()

Returns the nearest `GtkNative` ancestor of the 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.

Parameters:

this

a widget

Returns:

the `GtkNative` ancestor of this