Property

GtkEntry:menu-entry-icon-secondary-text

unstable since: 4.20

Declaration

property menu-entry-icon-secondary-text: utf8 [ read, write ]

Description [src]

Text for an item in the context menu to activate the secondary icon action.

When the primary icon is activatable and this property has been set, a new entry in the context menu of this GtkEntry will appear with this text. Selecting that menu entry will result in the primary icon being activated, exactly in the same way as it would be activated from a mouse click.

This simplifies adding accessibility support to applications using activatable icons. The activatable icons aren’t focusable when navigating the interface with the keyboard This is why Gtk recommends to also add those actions in the context menu. This set of methods greatly simplifies this, by adding a menu item that, when enabled, calls the same callback than clicking on the icon.

Type:gchar*

Available since: 4.20

Default valueNULL

Flags

Readableyes
Writableyes
Constructno
Construct onlyno