Method
GObjectTypeInterfacepeek_parent
Declaration [src]
GObjectTypeInterface*
g_type_interface_peek_parent (
GObjectTypeInterface* g_iface
)
Description [src]
Returns the corresponding GTypeInterface structure of the parent type
of the instance type to which g_iface belongs.
This is useful when deriving the implementation of an interface from the parent type and then possibly overriding some methods.
Return value
Type: GTypeInterface
The corresponding GTypeInterface structure of the parent type of the
instance type to which g_iface belongs, or NULL if the parent
type doesn’t conform to the interface.
| The returned data is owned by the instance. |
The return value can be NULL. |