Convenience functions for ui_update_action_attr.
| bool update_action_label |
( |
const char * |
name, |
|
|
const char * |
label |
|
) |
| |
|
inline |
Update an action's label (ui_update_action_attr).
- Parameters
-
| name | action name |
| label | new label |
- Returns
- success
| bool update_action_shortcut |
( |
const char * |
name, |
|
|
const char * |
shortcut |
|
) |
| |
|
inline |
Update an action's shortcut (ui_update_action_attr).
- Parameters
-
| name | action name |
| shortcut | new shortcut |
- Returns
- success
| bool update_action_tooltip |
( |
const char * |
name, |
|
|
const char * |
tooltip |
|
) |
| |
|
inline |
Update an action's tooltip (ui_update_action_attr).
- Parameters
-
| name | action name |
| tooltip | new tooltip |
- Returns
- success
| bool update_action_icon |
( |
const char * |
name, |
|
|
int |
icon |
|
) |
| |
|
inline |
Update an action's icon (ui_update_action_attr).
- Parameters
-
| name | action name |
| icon | new icon id |
- Returns
- success
Update an action's state (ui_update_action_attr).
- Parameters
-
| name | action name |
| state | new state |
- Returns
- success
| bool update_action_checkable |
( |
const char * |
name, |
|
|
bool |
checkable |
|
) |
| |
|
inline |
Update an action's checkability (ui_update_action_attr).
- Parameters
-
| name | action name |
| checkable | new checkability |
- Returns
- success
| bool update_action_checked |
( |
const char * |
name, |
|
|
bool |
checked |
|
) |
| |
|
inline |
Update an action's checked state (ui_update_action_attr).
- Parameters
-
| name | action name |
| checked | new checked state |
- Returns
- success
| bool update_action_visibility |
( |
const char * |
name, |
|
|
bool |
visible |
|
) |
| |
|
inline |
Update an action's visibility (ui_update_action_attr).
- Parameters
-
| name | action name |
| visible | new visibility |
- Returns
- success