Method

GtkEntryset_icon_from_stock

deprecated: 3.10 since: 2.16

Declaration [src]

void
gtk_entry_set_icon_from_stock (
  GtkEntry* entry,
  GtkEntryIconPosition icon_pos,
  const gchar* stock_id
)

Description [src]

Sets the icon shown in the entry at the specified position from a stock image.

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

Available since: 2.16

Deprecated since: 3.10

Use gtk_entry_set_icon_from_icon_name() instead.

Parameters

icon_pos

Type: GtkEntryIconPosition

Icon position.

stock_id

Type: const gchar*

The name of the stock item, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.