get_menu_entry_icon_text
Description:
[ Version ( since = "4.20" ) ]
public unowned string? get_menu_entry_icon_text (EntryIconPosition icon_pos)
public unowned string? get_menu_entry_icon_text (EntryIconPosition icon_pos)
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.
Parameters:
| this |
a `GtkEntry` |
| icon_pos |
either |
Returns:
|
the text that will be used in the menu item, or NULL if no menu item is desired. |