RadioToolButton.from_stock


Description:

[ CCode ( has_construct_function = false , type = "GtkToolItem*" ) ]
[ Version ( deprecated = true , deprecated_since = "3.10" , since = "2.4" ) ]
public RadioToolButton.from_stock (SList<RadioButton>? group, string stock_id)

Warning: RadioToolButton.from_stock is deprecated since 3.10.

Creates a new RadioToolButton, adding it to group.

Note:

Use RadioToolButton instead.

The new RadioToolButton will contain an icon and label from the stock item indicated by stock_id.

Parameters:

group

an existing radio button group, or null if you are creating a new group

stock_id

the name of a stock item

Returns:

The new RadioToolButton