Icon.from_stock


Description:

public Icon.from_stock (StockIcon stock_icon) throws Error

Creates a new instance of a Icon widget using a stock icon.

Parameters:

stock_icon

The stock icon to use.

Exceptions:

GLib.IOError.NOT_FOUND

if the file does not exist or IOError.FAILED if there was a problem loading the data from the file.