summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-06-26 11:48:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-30 10:12:13 +0900
commita31222ae6f11932bcfa964db0e1576d02d6d1d7c (patch)
treee72c710b05f22fc03f2d96151304c1e0b02d5b10
parentb676dcf9982292c08227f7133fb97d4bf31b7ebe (diff)
downloadefl-a31222ae6f11932bcfa964db0e1576d02d6d1d7c.tar.gz
doc: EDC reference: Add specific doc for group.data
Group.data does not support "file", only "item". This doc explains that. Should Group.Data support file instead?
-rw-r--r--src/bin/edje/edje_cc_handlers.c31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 114a085713..4c7955f45e 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -80,7 +80,7 @@
* <ul>
* <li>@ref sec_collections_group_script "Script"</li>
* <li>@ref sec_collections_group_limits "Limits"</li>
- * <li>@ref sec_toplevel_data "Data"</li>
+ * <li>@ref sec_collections_group_data "Data"</li>
* <li>@ref sec_collections_group_parts "Parts"</li>
* <ul>
* <li>@ref sec_collections_group_parts_part "Part"</li>
@@ -4229,6 +4229,35 @@ ob_collections_group_lua_script(void)
}
}
+/** @edcsubsection{collections_group_data,
+ * Group.Data} */
+
+/**
+ @page edcref
+ @block
+ data
+ @context
+ data {
+ item: "key" "value";
+ ..
+ }
+ @description
+ The "data" block is used to pass arbitrary parameters from the theme to
+ the application. Unlike the toplevel data block, this block Group.Data
+ can only store inline items (not files).
+ See also the toplevel @ref sec_toplevel_data "Data" section.
+ @endblock
+
+ @property
+ item
+ @parameters
+ [parameter name] [parameter value]
+ @effect
+ Defines a new parameter, the value will be the string specified next to
+ it.
+ @endproperty
+*/
+
static void
st_collections_group_data_item(void)
{