Image.setFromStock

Warning gtk_image_set_from_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_image_set_from_icon_name() instead. See gtk_image_new_from_stock() for details.

class Image
void
setFromStock

Parameters

stockId string

a stock icon name

size GtkIconSize

a stock icon size. [type int]

Meta