mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05: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
12f6a8975a
commit
22e3be40e5
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