Action.setAlwaysShowImage

void setAlwaysShowImage(bool alwaysShow)

Sets whether action's menu item proxies will ignore the #GtkSettings:gtk-menu-images setting and always show their image, if available.

Use this if the menu item would be useless or hard to use without their image.

Parameters

alwaysShowtrue if menuitem proxies should always show their image

Deprecated

Use [gio.menu_item.MenuItem.setIcon] on a #GMenuItem instead, if the

item should have an image