Package: gtk

Function gtk:entry-icon-area

Lambda List

gtk:entry-icon-area (entry pos)

Arguments

entry -- a gtk:entry widget
pos -- a gtk:entry-icon-position value with the icon position

Return Value

area -- a gdk:rectangle instance with the area of the icon

Details

Gets the area where the icon of the text entry at pos is drawn. This function is useful when drawing something to the text entry in a draw callback function.

If the text entry is not realized or has no icon at the given position, area is filled with zeros. Otherwise, area will be filled with the allocation of the icon, relative to the allocation of the text entry.
 

See also

#2023-9-16