get_native


Description:

public unowned Native? get_native ()

Returns the `GtkNative` widget that contains 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` widget of this, or null