set_use_stock


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public void set_use_stock (bool use_stock)

Warning: set_use_stock is deprecated since "3.10".

If true, the label set on the button is used as a stock id to select the stock item for the button.

Parameters:

this

a Button

use_stock

true if the button should use a stock item