* doc/tmpl/* * hildon-widgets/* moved widget descriptions to respective source file...
[hildon] / doc / tmpl / hildon-scroll-area.sgml
index 6f43147..2dcbd79 100644 (file)
@@ -7,6 +7,35 @@ hildon-scroll-area
 <!-- ##### SECTION Long_Description ##### -->
 <para>
 
+<informalexample>
+<programlisting>
+/*
+Following code is not a working copy,
+it's only giving an example of possible situation
+*/
+
+window = gtk_window_new ();
+box = gtk_box_new ();
+buttonA = gtk_button_new ();
+buttonB = gtk_button_new ();
+treeview = gtk_tree_view_new ();
+swindow = gtk_scrolled_window_new ();
+
+scrollarea = gtk_scroll_area_new (swindow, treeview);
+
+/*
+Pack the buttons to the box, the box to the scrolled window
+and the scrolled window to the window.
+*/
+
+gtk_box_pack (box, scrollarea);
+
+/*
+You can trye following situation without scroll area and
+notice that the treeview is not working as well as it should
+*/
+</programlisting>
+</informalexample>
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
@@ -14,6 +43,9 @@ hildon-scroll-area
 
 </para>
 
+<!-- ##### SECTION Stability_Level ##### -->
+
+
 <!-- ##### FUNCTION hildon_scroll_area_new ##### -->
 <para>