gobj_typeof_inherited_gclass()

gobj_typeof_inherited_gclass()#

Checks if the given hgobj belongs to a specific inherited gclass.

Prototype

BOOL gobj_typeof_inherited_gclass(
    hgobj gobj,
    const char *gclass_name
);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj instance to check.

gclass_name

const char *

The name of the gclass to compare against.


Return Value

Returns TRUE if the gobj or any of its inherited (bottom) gobjs belong to the specified gclass, otherwise returns FALSE.

Notes

This function traverses the bottom gobj hierarchy to determine if any of them match the given gclass_name.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples