From Murray Cummings (M#185 M#283), with slight changes:
[hildon] / doc / tmpl / hildon-scroll-area.sgml
1 <!-- ##### SECTION Title ##### -->
2 hildon-scroll-area
3
4 <!-- ##### SECTION Short_Description ##### -->
5
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9
10 <informalexample>
11 <programlisting>
12 /*
13 Following code is not a working copy,
14 it's only giving an example of possible situation
15 */
16
17 window = gtk_window_new ();
18 box = gtk_box_new ();
19 buttonA = gtk_button_new ();
20 buttonB = gtk_button_new ();
21 treeview = gtk_tree_view_new ();
22 swindow = gtk_scrolled_window_new ();
23
24 scrollarea = gtk_scroll_area_new (swindow, treeview);
25
26 /*
27 Pack the buttons to the box, the box to the scrolled window
28 and the scrolled window to the window.
29 */
30
31 gtk_box_pack (box, scrollarea);
32
33 /*
34 You can trye following situation without scroll area and
35 notice that the treeview is not working as well as it should
36 */
37 </programlisting>
38 </informalexample>
39 </para>
40
41 <!-- ##### SECTION See_Also ##### -->
42 <para>
43
44 </para>
45
46 <!-- ##### SECTION Stability_Level ##### -->
47
48
49 <!-- ##### FUNCTION hildon_scroll_area_new ##### -->
50 <para>
51
52 </para>
53
54 @sw: 
55 @child: 
56 @Returns: 
57
58