20 AtkState
An AtkState describes a component's particular state.
20.1 Overview
An AtkState describes a component's particular state. The actual state of an
component is described by its AtkStateSet, which is a set of AtkStates.
20.2 Usage
— Function:
atk-state-type-get-name (
type <atk-state-type>
)
⇒ (
ret mchars
)
Gets the description string describing the <atk-state-type>
type.
- type
- The
<atk-state-type>
whose name is required
- ret
- the string describing the AtkStateType
— Function:
atk-state-type-for-name (
name mchars
)
⇒ (
ret <atk-state-type>
)
Gets the <atk-state-type>
corresponding to the description string
name.
- name
- a character string state name
- ret
- an
<atk-state-type>
corresponding to name