]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkradiotoolbutton.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtkradiotoolbutton.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkRadioToolButton
3
4 <!-- ##### SECTION Short_Description ##### -->
5 A toolbar item that contains a radio button
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9 A #GtkRadioToolButton is a #GtkToolItem that contains a radio button,
10 that is, a button that is part of a group of toggle buttons where only
11 one button can be active at a time.
12 </para>
13
14 <para>
15 Use gtk_radio_tool_button_new() to create a new
16 #GtkRadioToolButton. use gtk_radio_tool_button_new_from_widget() to
17 create a new #GtkRadioToolButton that is part of the same group as an
18 existing #GtkRadioToolButton. Use
19 gtk_radio_tool_button_new_from_stock() or
20 gtk_radio_tool_button_new_from_widget_with_stock() to create a new
21 #GtkRAdioToolButton containing a stock item.
22 </para>
23
24 <!-- ##### SECTION See_Also ##### -->
25 <para>
26
27 <variablelist>
28
29 <varlistentry>
30 <term>#GtkToolbar</term>
31 <listitem><para>The toolbar widget</para></listitem>
32 </varlistentry>
33
34 <varlistentry>
35   <term>#GtkToolButton</term>
36   <listitem><para>
37       An ancestor class of GtkRadioToolButton. The properties
38       "label_widget", "label", "icon_widget", and "stock_id" on
39       #GtkToolButton determine the label and icon used on a
40       #GtkRadioToolButton.
41   </para></listitem>
42 </varlistentry>
43
44 <varlistentry>
45   <term>#GtkSeparatorToolItem</term>
46   <listitem>
47     <para>A subclass of #GtkToolItem that separates groups of
48       items on a toolbar. It is usually a good idea to put a separator
49       before and after a group of #GtkRadioToolButtons on a #GtkToolbar.
50     </para>
51   </listitem>
52 </varlistentry>
53
54 </variablelist>
55
56 </para>
57
58 <!-- ##### SECTION Stability_Level ##### -->
59
60
61 <!-- ##### SECTION Image ##### -->
62
63
64 <!-- ##### STRUCT GtkRadioToolButton ##### -->
65 <para>
66   The #GtkRadioToolButton contains only private data and should only
67   be accessed through the functions described below.
68 </para>
69
70
71 <!-- ##### ARG GtkRadioToolButton:group ##### -->
72 <para>
73
74 </para>
75
76 <!-- ##### FUNCTION gtk_radio_tool_button_new ##### -->
77 <para>
78
79 </para>
80
81 @group: 
82 @Returns: 
83
84
85 <!-- ##### FUNCTION gtk_radio_tool_button_new_from_stock ##### -->
86 <para>
87
88 </para>
89
90 @group: 
91 @stock_id: 
92 @Returns: 
93
94
95 <!-- ##### FUNCTION gtk_radio_tool_button_new_from_widget ##### -->
96 <para>
97
98 </para>
99
100 @group: 
101 @Returns: 
102
103
104 <!-- ##### FUNCTION gtk_radio_tool_button_new_with_stock_from_widget ##### -->
105 <para>
106
107 </para>
108
109 @group: 
110 @stock_id: 
111 @Returns: 
112
113
114 <!-- ##### FUNCTION gtk_radio_tool_button_get_group ##### -->
115 <para>
116
117 </para>
118
119 @button: 
120 @Returns: 
121
122
123 <!-- ##### FUNCTION gtk_radio_tool_button_set_group ##### -->
124 <para>
125
126 </para>
127
128 @button: 
129 @group: 
130
131