StatusIcon.setFromStock

Warning gtk_status_icon_set_from_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_status_icon_set_from_icon_name() instead. Makes status_icon display the stock icon with the id stock_id. See gtk_status_icon_new_from_stock() for details. Since 2.10

class StatusIcon
void
setFromStock
(
string stockId
)

Parameters

stockId string

a stock icon id

Meta