RadioToolButton.with_stock_from_widget


Description:

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

Warning: RadioToolButton.with_stock_from_widget is deprecated since 3.10.

Creates a new RadioToolButton adding it to the same group as group.

Note:

gtk_radio_tool_button_new_from_widget

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

Parameters:

group

An existing RadioToolButton.

stock_id

the name of a stock item

Returns:

A new RadioToolButton