Method

GtkEntryset_icon_from_pixbuf

since: 2.16

Declaration [src]

void
gtk_entry_set_icon_from_pixbuf (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos,
  GdkPixbuf* pixbuf
)

Description [src]

Sets the icon shown in the specified position using a pixbuf.

If pixbuf is NULL, no icon will be shown in the specified position.

Available since: 2.16

Parameters

icon_pos

Type: GtkEntryIconPosition

Icon position.

pixbuf

Type: GdkPixbuf

A GdkPixbuf, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.