From c9d315de198812a3347846b58cbc5bad12de6fa0 Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Thu, 16 Mar 2017 16:24:36 +0900 Subject: [PATCH] Add desc about widget-class element and setup-appid attr Change-Id: Ide3a991e4e931b11d6b516da5eb1e5b7b63f7a37 Signed-off-by: Hyunho Kang --- .../html/native_tools/manifest_text_editor_n.htm | 90 +++++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/org.tizen.studio/html/native_tools/manifest_text_editor_n.htm b/org.tizen.studio/html/native_tools/manifest_text_editor_n.htm index ab58735..a35e7f2 100644 --- a/org.tizen.studio/html/native_tools/manifest_text_editor_n.htm +++ b/org.tizen.studio/html/native_tools/manifest_text_editor_n.htm @@ -236,6 +236,37 @@ + + + <widget-class> + + + + + + + + <icon> + + + + + + + + <label> + + + + + + + + <support-size> + + + + <shortcut-list> @@ -785,6 +816,11 @@ <support-size> 1 + +<widget-class> + 1 or more (optional) + +

Attributes:

For example:

-<widget-application appid="org.tizen.test" exec="test" main="true" update-period="0">
+<widget-application appid="org.tizen.test" exec="test" main="true" update-period="0" max-instance="5" setup-appid="org.tizen.widget-setting">
    <label>.....</label>
    <icon>.....</icon>
    <support-size>.....</support-size>
+   <widget-class>.....</widget-class>
 </widget-application>
 
@@ -868,6 +909,53 @@ <support-size preview="preview.png">2x2</support-size> +

<widget-class> Element

+

This element contains the settings for the widget class. After adding this element, you can use the widget_app_class_add() function to create widget instances in the widget application (maximum number of instances is defined in the max-instance attribute of the <widget-application> element).

+

Occurrences:

+ +

Expected children:

+ + + + + + + + + + + + + + + + + + +
Child elementOccurrences
<label>1 or more
<icon>1 or more
<support-size>1
+

Attributes:

+ + +

For example:

+
+<widget-class classid="class1" update-period="0" setup-appid="org.tizen.widget-setting">
+   <label>.....</label>
+   <icon>.....</icon>
+   <support-size>.....</support-size>
+</widget-class>
+
+ +

<shortcut-list> Element

This element contains the shortcut template list used for adding a shortcut to the home screen.

For more information on the relationship between the elements, see the element hierarchy.

-- 2.7.4