2003-07-14 23:09:32 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkRadioToolButton
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2003-08-04 21:13:55 +00:00
|
|
|
A toolbar item that contains a radio button.
|
2003-07-14 23:09:32 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2003-08-04 21:13:55 +00:00
|
|
|
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>
|
2003-07-14 23:09:32 +00:00
|
|
|
|
2003-08-04 21:13:55 +00:00
|
|
|
<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.
|
2003-07-14 23:09:32 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
2003-08-04 21:13:55 +00:00
|
|
|
<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>
|
|
|
|
|
2003-07-14 23:09:32 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkRadioToolButton ##### -->
|
|
|
|
<para>
|
2003-08-04 21:13:55 +00:00
|
|
|
The #GtkRadioToolButton contains only private data and should only
|
|
|
|
be accessed through the functions described below.
|
2003-07-14 23:09:32 +00:00
|
|
|
</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:
|
2003-08-04 21:13:55 +00:00
|
|
|
@stock_id:
|
2003-07-14 23:09:32 +00:00
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_radio_tool_button_get_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@button:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_radio_tool_button_set_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@button:
|
|
|
|
@group:
|
|
|
|
|
|
|
|
|