Method
GtkEntryget_menu_entry_icon_text
unstable since: 4.20
Declaration [src]
const gchar*
gtk_entry_get_menu_entry_icon_text (
GtkEntry* entry,
GtkEntryIconPosition icon_pos
)
Description [src]
Gets the text that will be used in the context menu of the GtkEntry
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
aren’t focusable when using keyboard navigation. This is why Gtk recommends
to add the same action to the context menu.
Available since: 4.20
Parameters
icon_pos
-
Type:
GtkEntryIconPosition
Either
GTK_ENTRY_ICON_PRIMARY
orGTK_ENTRY_ICON_SECONDARY
.