get_parent


Description:

public Device? get_parent ()

Gets the immediate parent of this, if any.

Parameters:

this

A Device.

Returns:

A Device or null if this has no parent. Free with unref.