Constructor

GtkRadioToolButtonnew_from_stock

deprecated: 3.10 since: 2.4

Declaration [src]

GtkToolItem*
gtk_radio_tool_button_new_from_stock (
  GSList* group,
  const gchar* stock_id
)

Description [src]

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

Available since: 2.4

Deprecated since: 3.10

Use gtk_radio_tool_button_new() instead.

Parameters

group

Type: A list of None

An existing radio button group, or NULL if you are creating a new group.

The argument can be NULL.
The data is owned by the caller of the function.
stock_id

Type: const gchar*

The name of a stock item.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkToolItem

The new GtkRadioToolButton.

The data is owned by the called function.