peek_parent


Description:

public unowned TypeInterface? peek_parent ()

Returns the corresponding TypeInterface structure of the parent type of the instance type to which this belongs.

This is useful when deriving the implementation of an interface from the parent type and then possibly overriding some methods.

Parameters:

this

a TypeInterface structure

Returns:

the corresponding TypeInterface structure of the parent type of the instance type to which this belongs, or null if the parent type doesn't conform to the interface