Action.setIconName

Warning gtk_action_set_icon_name has been deprecated since version 3.10 and should not be used in newly-written code. Use GAction instead, and g_menu_item_set_icon() to set an icon on a GMenuItem associated with a GAction, or gtk_container_add() to add a GtkImage to a GtkButton Sets the icon name on action Since 2.16

class Action
void
setIconName
(
string iconName
)

Parameters

iconName string

the icon name to set

Meta