Constructor

GtkRadioToolButtonnew_with_stock_from_widget

deprecated: 3.10 since: 2.4

Declaration [src]

GtkToolItem*
gtk_radio_tool_button_new_with_stock_from_widget (
  GtkRadioToolButton* group,
  const gchar* stock_id
)

Description [src]

Creates a new GtkRadioToolButton adding it to the same group as 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

Gtk_radio_tool_button_new_from_widget.

Parameters

group

Type: GtkRadioToolButton

An existing GtkRadioToolButton.

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

A new GtkRadioToolButton.

The data is owned by the called function.