Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkEntryIconPosition |
Enum : | EntryIconPosition |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gtk.EntryIconPosition.PRIMARY : 0
|
|
Number Gtk.EntryIconPosition.SECONDARY : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.Entry
Signal |
The ::icon-press signal is emitted when an activatable icon is clicked.
|
Gtk.Entry
Signal |
The ::icon-release signal is emitted on the button release from a mouse click over an activatable icon.
|
Gtk.Entry
Method |
set_icon_from_pixbuf
(EntryIconPosition icon_pos, Pixbuf pixbuf)
:
none
Sets the icon shown in the specified position using a pixbuf.
|
Gtk.Entry
Method |
set_icon_from_stock
(EntryIconPosition icon_pos, String stock_id)
:
none
Sets the icon shown in the entry at the specified position from a stock image.
|
Gtk.Entry
Method |
set_icon_from_icon_name
(EntryIconPosition icon_pos, String icon_name)
:
none
Sets the icon shown in the entry at the specified position from the current icon theme.
|
Gtk.Entry
Method |
set_icon_from_gicon
(EntryIconPosition icon_pos, Icon icon)
:
none
Sets the icon shown in the entry at the specified position from the current icon theme.
|
Gtk.Entry
Method |
get_icon_storage_type
(EntryIconPosition icon_pos)
:
Gtk.ImageType
Gets the type of representation being used by the icon to store image data.
|
Gtk.Entry
Method |
get_icon_pixbuf
(EntryIconPosition icon_pos)
:
GdkPixbuf.Pixbuf
Retrieves the image used for the icon.
|
Gtk.Entry
Method |
get_icon_stock
(EntryIconPosition icon_pos)
:
String
Retrieves the stock id used for the icon, or NULL if there is no icon or if the icon was set by some other method (e.g.
|
Gtk.Entry
Method |
get_icon_name
(EntryIconPosition icon_pos)
:
String
Retrieves the icon name used for the icon, or NULL if there is no icon or if the icon was set by some other method (e.g.
|
Gtk.Entry
Method |
get_icon_gicon
(EntryIconPosition icon_pos)
:
Gio.Icon
Retrieves the GIcon used for the icon, or NULL if there is no icon or if the icon was set by some other method (e.g.
|
Gtk.Entry
Method |
set_icon_activatable
(EntryIconPosition icon_pos, Boolean activatable)
:
none
Sets whether the icon is activatable.
|
Gtk.Entry
Method |
get_icon_activatable
(EntryIconPosition icon_pos)
:
Boolean
Returns whether the icon is activatable.
|
Gtk.Entry
Method |
set_icon_sensitive
(EntryIconPosition icon_pos, Boolean sensitive)
:
none
Sets the sensitivity for the specified icon.
|
Gtk.Entry
Method |
get_icon_sensitive
(EntryIconPosition icon_pos)
:
Boolean
Returns whether the icon appears sensitive or insensitive.
|
Gtk.Entry
Method |
set_icon_tooltip_text
(EntryIconPosition icon_pos, String tooltip)
:
none
Sets tooltip as the contents of the tooltip for the icon at the specified position.
|
Gtk.Entry
Method |
get_icon_tooltip_text
(EntryIconPosition icon_pos)
:
String
Gets the contents of the tooltip on the icon at the specified position in entry.
|
Gtk.Entry
Method |
set_icon_tooltip_markup
(EntryIconPosition icon_pos, String tooltip)
:
none
Sets tooltip as the contents of the tooltip for the icon at the specified position.
|
Gtk.Entry
Method |
get_icon_tooltip_markup
(EntryIconPosition icon_pos)
:
String
Gets the contents of the tooltip on the icon at the specified position in entry.
|
Gtk.Entry
Method |
set_icon_drag_source
(EntryIconPosition icon_pos, TargetList target_list, DragAction actions)
:
none
Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon.
|
Gtk.Entry
Method |
get_icon_window
(EntryIconPosition icon_pos)
:
Gdk.Window
Returns the GdkWindow which contains the entry's icon at entry in an expose-event callback because it enables the callback to distinguish between the text window and entry's icon windows.
|