dlog_print(DLOG_INFO, LOG_TAG, "The panel was scrolled.\n");
}
</pre>
-
-
- <h2 id="photo" name="photo">Photo</h2>
-
- <p class="figure">Figure: Photo hierarchy</p>
-<p align="center"> <img alt="Photo hierarchy" src="../../images/photo_tree.png" /> </p>
-
- <p>The photo component is used to display a photo, such as a contact image. If no photo is set on it, it displays a person icon to show that it is a photo placeholder.</p>
-
-<h3 id="add_photo">Adding a Photo Component</h3>
-
- <p>The following example shows how to create a photo object.</p>
-
- <pre class="prettyprint">
-Evas_Object *photo, *parephotoslider = elm_photo_add(parent);
-photo = elm_photo_add(parent);
-</pre>
-
-<h3 id="use_photo">Using a Photo Component</h3>
-
- <p>A file can be set to the photo component. Here, <span style="font-family: Courier New,Courier,monospace">PHOTO_FILENAME</span> is a string corresponding to the photo file name on the system.</p>
-<pre class="prettyprint">
-elm_photo_file_set(photo, PHOTO_FILENAME);</pre>
-
-<p>The photo can be set as editable, and it can be copied, cut, or dragged in another region of the screen.</p>
-<pre class="prettyprint">
-elm_photo_editable_set(photo, EINA_TRUE);</pre>
-
-<p>The photo can also be completely visible on the screen.</p>
-
-<pre class="prettyprint">
-elm_photo_fill_inside_set(photo, EINA_TRUE);</pre>
-
-<h3 id="use_photo_cb">Using Photo Callbacks</h3>
-
- <p>The following callbacks are registered on the photo component.</p>
- <ul>
- <li><span style="font-family: Courier New,Courier,monospace">clicked</span>: The user has clicked the photo.</li>
- <li><span style="font-family: Courier New,Courier,monospace">drag,start</span>: The user starts dragging the inner image out of the photo's frame.</li>
- <li><span style="font-family: Courier New,Courier,monospace">drag,end</span>: The user drops the dragged image.</li>
- </ul>
-
-<p><span style="font-family: Courier New,Courier,monospace">event_info</span> is always <span style="font-family: Courier New,Courier,monospace">NULL</span>.</p>
-
<h2 id="photocam" name="photocam">Photocam</h2>
<p>The above example prints "v=123".</p>
</li>
-<li>To convert an <span style="font-family: Courier New,Courier,monospace">Eina_Value</span> to a string, use the <span style="font-family: Courier New,Courier,monospace">eina_value_to_string()</span> function. The code snippet above printed an <span style="font-family: Courier New,Courier,monospace">int</span> value. It is also possible to print the value as a string.
-<pre class="prettyprint">
-newstr = eina_value_to_string(&v);
-printf("v as string: %s\n", newstr);
-
-free(newstr);
-</pre>
-</li>
-
-<li>To free the memory allocated by <span style="font-family: Courier New,Courier,monospace">eina_value_to_string()</span>, use the <span style="font-family: Courier New,Courier,monospace">eina_value_flush()</span> function:
-<pre class="prettyprint">
-eina_value_flush(&v);
-</pre>
-</li>
-
-<li>To store a string, get its value, and print it:
-<pre class="prettyprint">
-const char *s;
-
-eina_value_setup(&v, EINA_VALUE_TYPE_STRING);
-eina_value_set(&v, "My string");
-eina_value_get(&v, &s);
-
-printf("v=%s (pointer: %p)\n", s, s);
-</pre>
-</li>
-
-<li>To set up a string, use the <span style="font-family: Courier New,Courier,monospace">eina_value_to_string()</span> function with an <span style="font-family: Courier New,Courier,monospace">Eina_Value</span>:
-<pre class="prettyprint">
-char *newstr;
-
-newstr = eina_value_to_string(&v);
-printf("v as string: %s (pointer: %p)\n", newstr, newstr);
-
-// Free the memory allocated by eina_value_to_string
-free(newstr);
-
-eina_value_flush(&v);
-</pre>
-</li>
-
-<li>To convert from one <span style="font-family: Courier New,Courier,monospace">Eina_Value</span> to another, use the <span style="font-family: Courier New,Courier,monospace">eina_value_convert()</span> function.
-<p>The function puts the converted value into another <span style="font-family: Courier New,Courier,monospace">Eina_Value</span>. It accepts pointers, so you have to pass an <span style="font-family: Courier New,Courier,monospace">Eina_Value</span> pointer.</p>
-<pre class="prettyprint">
-Eina_Value v;
-Eina_Value otherv;
-
-// Set up 2 Eina_Values: 1 int and 1 string
-eina_value_setup(&otherv, EINA_VALUE_TYPE_STRING);
-eina_value_setup(&v, EINA_VALUE_TYPE_INT);
-
-// Convert from int to string
-eina_value_set(&v, 123);
-eina_value_convert(&v, &otherv);
-eina_value_get(&otherv, &s);
-printf("otherv=%s\n", s);
-
-// Another way to do the same
-eina_value_set(&otherv, "33");
-eina_value_convert(&otherv, &v);
-eina_value_get(&v, &i);
-printf("v=%d\n", i);
-
-// Clean your values
-eina_value_flush(&otherv);
-eina_value_flush(&v);
-</pre>
-</li>
<li>To store an <span style="font-family: Courier New,Courier,monospace">Eina_List</span>, use the <span style="font-family: Courier New,Courier,monospace">Eina_Value</span> that corresponds to the <span style="font-family: Courier New,Courier,monospace">EINA_VALUE_TYPE_LIST</span> type.
</li>
</script>
</body>
-</html>
\ No newline at end of file
+</html>
<p>The following code example defines that the optimum size of a part is 200x200 pixels.</p>
-<pre class="prettyprint">
-evas_object_size_hint_request_set(object, 200, 200);
-</pre>
-
<h3>Aspect Size Hint</h3>
<p>This sets the hints for the object's aspect ratio. Available aspect size hints are:</p>
</script>
</body>
-</html>
\ No newline at end of file
+</html>
</li>
</ul>
-<h2 name="own" id="own">Setting Your Own Font</h2>
-
-<p>You can create your own font and use them in your application. Before using your fonts, set the path for the fonts. Use the <span style="font-family: Courier New,Courier,monospace;">evas_font_path_global_append()</span> or prepend function once when the application is launched.</p>
-<pre class="prettyprint">
-char *font_path = "/opt/usr/apps/org.tizen.myapp/res/fonts/";
-evas_font_path_global_append(font_path);
-</pre>
-
-<p>After calling the <span style="font-family: Courier New,Courier,monospace;">evas_font_path_global_append()</span> function, you can load your fonts including the family name and style.</p>
-
<script type="text/javascript" src="../../scripts/jquery.zclip.min.js"></script>
<script type="text/javascript" src="../../scripts/showhide.js"></script>
</div></div></div>
</script>
</body>
-</html>
\ No newline at end of file
+</html>
char *profile = elm_config_profile_get();
</pre>
</li>
-<li>To save the current option values as an Elementary configuration for later use, use the <span style="font-family: Courier New,Courier,monospace">elm_config_save()</span> function:
-<pre class="prettyprint">
-elm_config_save();
-</pre>
+<li>To save the current option values as an Elementary configuration for later use, use the <span style="font-family: Courier New,Courier,monospace">Elementary Configuration Save</span> function:
</li>
<li>To reload the Elementary configuration saved for the current profile:
<pre class="prettyprint">
<li>To activate the access mode:
<p>Set the access mode as active, so that information about an Elementary object is read when the object receives an <span style="font-family: Courier New,Courier,monospace">EVAS_CALLBACK_MOUSE_IN</span> event:</p>
-<pre class="prettyprint">
-elm_config_access_set(EINA_TRUE);
-</pre>
</li>
<li>To configure the selection mode:
</script>
</body>
-</html>
\ No newline at end of file
+</html>