mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
action: add If and ForEach actions
Add If and ForEach actions as described in OpenBox specification. Limitations: - If and ForEach cannot contain nested If and ForEach.
This commit is contained in:
parent
ef707791c3
commit
37dff1b874
4 changed files with 307 additions and 3 deletions
|
|
@ -23,6 +23,11 @@ struct action *action_create(const char *action_name);
|
|||
bool action_is_valid(struct action *action);
|
||||
|
||||
void action_arg_add_str(struct action *action, const char *key, const char *value);
|
||||
void action_arg_add_actionlist(struct action *action, const char *key);
|
||||
void action_arg_add_querylist(struct action *action, const char *key);
|
||||
|
||||
struct wl_list *action_get_actionlist(struct action *action, const char *key);
|
||||
struct wl_list *action_get_querylist(struct action *action, const char *key);
|
||||
|
||||
void action_arg_from_xml_node(struct action *action, const char *nodename, const char *content);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue