I add two icons in gtk.Entry in PyGTK. Icon signals are processed as follows.
def entry_icon_event(self, widget, position, event)
I am trying to distinguish them between two:
<enum GTK_ENTRY_ICON_PRIMARY of type GtkEntryIconPosition> <enum GTK_ENTRY_ICON_SECONDARY of type GtkEntryIconPosition>
How can i do this? I am looking at PyGTK documentation, but there is no GtkEntryIconPosition object or any definition for this listing.
thanks
source share