Package: gtk

Function gtk:entry-menu-entry-icon-text

Lambda List

gtk:entry-menu-entry-icon-text (entry pos)

Syntax

(gtk:entry-menu-entry-icon-text entry pos) => text
(setf (gtk:entry-menu-entry-icon-text entry pos) text)

Arguments

entry -- a gtk:entry widget
pos -- a gtk:entry-icon-position value for the icon position
text -- a string for the text used for the menu item in the context menu

Details

Gets or sets the text that will be used in the context menu of the gtk:entry widget when the specified icon is activatable. Selecting this item in the menu results, from all aspects, the same than clicking on the specified icon. This greatly simplifies making accessible applications, because the icons are not focusable when using keyboard navigation. This is why GTK recommends to add the same action to the context menu.
 

See also

2025-11-16