W Wrapl, The Programming Language

Libraries:Gtk:Gtk:RadioToolButton

Types

T

Inherits from:

A T is a Gtk.Gtk.ToolItem.T 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.

Use gtk_radio_tool_button_new() to create a new T. use gtk_radio_tool_button_new_from_widget() to create a new T that is part of the same group as an existing T. 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.



Constants

Nil : T

Functions

GetType() : Gtk.GObject.Type.T



New(group @ Std.Object.T) : Gtk.Gtk.RadioToolButton.T

Creates a new T, adding it to group.

group An existing radio button group, or NULL if you are creating a new group. [allow-none]
Returns The new T


NewFromStock(group @ Std.Object.T, stock_id @ Std.String.T) : Gtk.Gtk.RadioToolButton.T

Creates a new T, adding it to group. The new T will contain an icon and label from the stock item indicated by stock_id.

group an existing radio button group, or NULL if you are creating a new group. [allow-none]
stock_id the name of a stock item
Returns The new GtkRadioToolItem


NewFromWidget(group @ Gtk.Gtk.RadioToolButton.T) : Gtk.Gtk.RadioToolButton.T

Creates a new T adding it to the same group as gruup

group An existing T
Returns The new T. [transfer none]


NewWithStockFromWidget(group @ Gtk.Gtk.RadioToolButton.T, stock_id @ Std.String.T) : Gtk.Gtk.RadioToolButton.T

Creates a new T adding it to the same group as group. The new T will contain an icon and label from the stock item indicated by stock_id.

group An existing T.
stock_id the name of a stock item
Returns A new T. [transfer none]


Methods

:GetGroup(self @ T) : Std.Object.T

Returns the radio button group button belongs to.

button a T
Returns The group button belongs to. [transfer none]


:SetGroup(self @ T, group @ Std.Object.T) : Std.Object.T

Adds button to group, removing it from the group it belonged to before.

button a T
group an existing radio button group