[SAMPLE APP][DATA-CONTROL-CONSUMER] UI-builder event-handlers
authorMichal Skorupinski <m.skorupinsk@samsung.com>
Thu, 8 Oct 2015 15:10:13 +0000 (17:10 +0200)
committerMichal Skorupinski <m.skorupinsk@samsung.com>
Tue, 13 Oct 2015 12:16:03 +0000 (14:16 +0200)
Change-Id: Idf6241ffbe6048d6ddd7c27b62b8d5460961091b
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler-final.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler.png [new file with mode: 0644]
org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm

diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler-final.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler-final.png
new file mode 100644 (file)
index 0000000..f261990
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler-final.png differ
diff --git a/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler.png b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler.png
new file mode 100644 (file)
index 0000000..0fcecbd
Binary files /dev/null and b/org.tizen.sampledescriptions/html/images/data_control_consumer/data-control-consumer-ui-builder-event-handler.png differ
index 787610f..5e6569d 100644 (file)
@@ -134,6 +134,24 @@ void view2_connection_to_sql_button_onclicked(uib_view2_view_context *vc, Evas_O
        </pre>
        <p>The <span style="font-family: Courier New,Courier,monospace">change_page()</span> function uses the <span style="font-family: Courier New,Courier,monospace">elm_naviframe_item_push()</span> to switch the views. Note that there is no reverse connection from view3 to view2. Instead there is a callback function added to the <span style="font-family: Courier New,Courier,monospace">to_map_button</span> widget that invokes <span style="font-family: Courier New,Courier,monospace">elm_naviframe_item_pop()</span> function, which avoids recurring pages stacking.</p>
 
+<h4>Event handlers</h4>
+<p>The event handler callback stubs are created using the WYSWIG editor</p>
+<p class="figure">Figure: Default event_handler name</p>
+<p id="callback-function" style="text-align:center;">
+       <img alt="Default event_handler name" height="550" hspace="20" src="../images/data_control_consumer/data-control-consumer-ui-builder-event-handler.png" />
+</p>
+
+<p class="figure">Figure: Final name of the callback function</p>
+<p id="final-callback-function" style="text-align:center;">
+       <img alt="Final name of the callback function" height="100" hspace="20" src="../images/data_control_consumer/data-control-consumer-ui-builder-event-handler-final.png" />
+</p>
+
+<p>Note that the callback's name is followed by the view's name. This is a standard behaviour of the ui-builder and cannot be changed. After the function stub creation is completed, the user can modify the callback's source code.</p>
+
+
+
+
+
 <!-- ********************************************************************************** -->
 
 <script type="text/javascript" src="../scripts/jquery.zclip.min.js"></script>