Action.setGicon

Warning gtk_action_set_gicon 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 of action. Since 2.16

class Action
void
setGicon

Parameters

icon IconIF

the GIcon to set

Meta