Package: gtk

Function gtk:entry-set-icon-from-gicon

Lambda List

gtk:entry-set-icon-from-gicon (entry pos icon)

Arguments

entry -- a gtk:entry widget
pos -- a gtk:entry-icon-position value with the icon position
icon -- a g:icon object with the icon to set, or nil

Details

Sets the icon shown in the text entry at the specified position from the current icon theme. If the icon is not known, a "broken image" icon will be displayed instead.

If the icon argument is nil, no icon will be shown in the specified position.
 

See also

#2024-11-26