forked from AuroraMiddleware/gtk
6f6d3a2202
Fri Aug 1 15:26:46 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important" property * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_new_from_widget): Don't take a stock id * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_new_with_stock_from_widget): make this function take a stock_id. * gtk/toolbar: documentation
85 lines
1.7 KiB
Plaintext
85 lines
1.7 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
gtktoggletoolbutton
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A #GtkToolItem containing a toggle button.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A #GtkToggleToolButton is a #GtkToolItem that contains a toggle
|
|
button.
|
|
</para>
|
|
|
|
<para>
|
|
Use gtk_toggle_tool_button_new() to create a new
|
|
#GtkToggleToolButton. Use gtk_toggle_tool_button_new_from_stock() to
|
|
create a new #GtkToggleToolButton containing a stock item.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
<varlistentry>
|
|
<term>#GtkToolbar</term>
|
|
<listitem><para>The toolbar widget</para></listitem>
|
|
<term>#GtkToolButton</term>
|
|
<listitem>
|
|
<para>
|
|
The parent class of #GtkToggleToolButton. The properties
|
|
"label_widget", "label", "icon_widget", and "stock_id" on
|
|
#GtkToolButton determine the label and icon used on
|
|
#GtkToggleToolButton<!-- -->s.
|
|
</para>
|
|
</listitem>
|
|
<term>#GtkSeparatorToolItem</term>
|
|
<listitem>
|
|
<para>A subclass of #GtkToolItem that separates groups of
|
|
items on a toolbar.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkToggleToolButton ##### -->
|
|
<para>
|
|
The #GtkToggleToolButton struct contains only private data and
|
|
should only be accessed through the functions described below.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_tool_button_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_tool_button_new_from_stock ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@stock_id:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_tool_button_set_active ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@is_active:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_tool_button_get_active ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@Returns:
|
|
|
|
|