]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkradiotoolbutton.sgml
0f6f8b3f070b7df83fcae27c048816a40f5d9975
[~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 <!-- ##### STRUCT GtkRadioToolButton ##### -->
62 <para>
63   The #GtkRadioToolButton contains only private data and should only
64   be accessed through the functions described below.
65 </para>
66
67
68 <!-- ##### ARG GtkRadioToolButton:group ##### -->
69 <para>
70
71 </para>
72
73 <!-- ##### FUNCTION gtk_radio_tool_button_new ##### -->
74 <para>
75
76 </para>
77
78 @group: 
79 @Returns: 
80
81
82 <!-- ##### FUNCTION gtk_radio_tool_button_new_from_stock ##### -->
83 <para>
84
85 </para>
86
87 @group: 
88 @stock_id: 
89 @Returns: 
90
91
92 <!-- ##### FUNCTION gtk_radio_tool_button_new_from_widget ##### -->
93 <para>
94
95 </para>
96
97 @group: 
98 @Returns: 
99
100
101 <!-- ##### FUNCTION gtk_radio_tool_button_new_with_stock_from_widget ##### -->
102 <para>
103
104 </para>
105
106 @group: 
107 @stock_id: 
108 @Returns: 
109
110
111 <!-- ##### FUNCTION gtk_radio_tool_button_get_group ##### -->
112 <para>
113
114 </para>
115
116 @button: 
117 @Returns: 
118
119
120 <!-- ##### FUNCTION gtk_radio_tool_button_set_group ##### -->
121 <para>
122
123 </para>
124
125 @button: 
126 @group: 
127
128