gobj_is_writable_attr()#
Checks if a given attribute of a hgobj is writable based on its flags.
Prototype
BOOL gobj_is_writable_attr(
hgobj gobj,
const char *name
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The |
|
|
The name of the attribute to check. |
Return Value
Returns TRUE if the attribute is writable, otherwise returns FALSE.
Notes
The function verifies if the attribute has the SDF_WR or SDF_PERSIST flag set.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples