get_native


Description:

public unowned Native? get_native ()

Returns the nearest `GtkNative` ancestor of this.

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 `GtkWidget`

Returns:

the `GtkNative` ancestor of this