Re: how to set a callback function to an icon in an entry ?

There are the methods signal_icon_press() and signal_icon_release() [1]
in Gtk::Entry (assuming that's what you're talking about). I think you
should be able to connect to one or both of them to create a functioning
"(secondary) icon clicked handler".


Am 22.01.2015 um 02:13 schrieb Nicolas Jäger:

I would like to use the second icon of the entry to erase the text in
the entry, I'm looking for the function to connect a callback function
when I click on the icon.



TO MODERATORS : I sent a first mail with a screenshot, forget it. In
the future I will upload somewhere on internet my screenshot instead of
joining them.
gtkmm-list mailing list
gtkmm-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]