📄 gtkradiotoolbutton.sgml
字号:
<!-- ##### 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 onlyone 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() tocreate a new #GtkRadioToolButton that is part of the same group as anexisting #GtkRadioToolButton. Usegtk_radio_tool_button_new_from_stock() orgtk_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:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -