X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2Ftmpl%2Fhildon-scroll-area.sgml;h=2dcbd79098db403d843a8ba1111ccec81b6fea05;hb=90365349afdd1e81e04fa196accc6a71a72699dd;hp=6f431473c565a47f014919d35e64e2c6cefcc0fb;hpb=50106ac9fcb03d6440dc9f9282c0373f5f995d0a;p=hildon
diff --git a/doc/tmpl/hildon-scroll-area.sgml b/doc/tmpl/hildon-scroll-area.sgml
index 6f43147..2dcbd79 100644
--- a/doc/tmpl/hildon-scroll-area.sgml
+++ b/doc/tmpl/hildon-scroll-area.sgml
@@ -7,6 +7,35 @@ hildon-scroll-area
+
+
+/*
+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
+*/
+
+
@@ -14,6 +43,9 @@ hildon-scroll-area
+
+
+