gobj_has_bottom_attr()

gobj_has_bottom_attr()#

Checks if the given hgobj or any of its bottom objects has the specified attribute.

Prototype

BOOL gobj_has_bottom_attr(
    hgobj gobj, 
    const char *name
);

Parameters

Key

Type

Description

gobj

hgobj

The object to check for the attribute.

name

const char *

The name of the attribute to search for.


Return Value

Returns TRUE if the attribute exists in the given hgobj or any of its bottom objects, otherwise returns FALSE.

Notes

This function traverses the bottom hierarchy of the given hgobj to check for the presence of the attribute.

Prototype

// Not applicable in JS

Prototype

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