summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkradiotoolbutton.sgml
blob: 0f6f8b3f070b7df83fcae27c048816a40f5d9975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!-- ##### SECTION Title ##### -->
GtkRadioToolButton

<!-- ##### SECTION Short_Description ##### -->
A toolbar item that contains a radio button

<!-- ##### SECTION Long_Description ##### -->
<para>
A #GtkRadioToolButton is a #GtkToolItem that contains a radio button,
that is, a button that is part of a group of toggle buttons where only
one button can be active at a time.
</para>

<para>
Use gtk_radio_tool_button_new() to create a new
#GtkRadioToolButton. use gtk_radio_tool_button_new_from_widget() to
create a new #GtkRadioToolButton that is part of the same group as an
existing #GtkRadioToolButton. Use
gtk_radio_tool_button_new_from_stock() or
gtk_radio_tool_button_new_from_widget_with_stock() to create a new
#GtkRAdioToolButton containing a stock item.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

<variablelist>

<varlistentry>
<term>#GtkToolbar</term>
<listitem><para>The toolbar widget</para></listitem>
</varlistentry>

<varlistentry>
  <term>#GtkToolButton</term>
  <listitem><para>
      An ancestor class of GtkRadioToolButton. The properties
      "label_widget", "label", "icon_widget", and "stock_id" on
      #GtkToolButton determine the label and icon used on a
      #GtkRadioToolButton.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>#GtkSeparatorToolItem</term>
  <listitem>
    <para>A subclass of #GtkToolItem that separates groups of
      items on a toolbar. It is usually a good idea to put a separator
      before and after a group of #GtkRadioToolButtons on a #GtkToolbar.
    </para>
  </listitem>
</varlistentry>

</variablelist>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT GtkRadioToolButton ##### -->
<para>
  The #GtkRadioToolButton contains only private data and should only
  be accessed through the functions described below.
</para>


<!-- ##### ARG GtkRadioToolButton:group ##### -->
<para>

</para>

<!-- ##### FUNCTION gtk_radio_tool_button_new ##### -->
<para>

</para>

@group: 
@Returns: 


<!-- ##### FUNCTION gtk_radio_tool_button_new_from_stock ##### -->
<para>

</para>

@group: 
@stock_id: 
@Returns: 


<!-- ##### FUNCTION gtk_radio_tool_button_new_from_widget ##### -->
<para>

</para>

@group: 
@Returns: 


<!-- ##### FUNCTION gtk_radio_tool_button_new_with_stock_from_widget ##### -->
<para>

</para>

@group: 
@stock_id: 
@Returns: 


<!-- ##### FUNCTION gtk_radio_tool_button_get_group ##### -->
<para>

</para>

@button: 
@Returns: 


<!-- ##### FUNCTION gtk_radio_tool_button_set_group ##### -->
<para>

</para>

@button: 
@group: