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


On Thu, 22 Jan 2015 02:23:30 +0100
Jonas Platte <jonasplatte gmail com> wrote:

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".


that's exactly what I was looking for, thx. I have a question about the
calback functions of these methods. The calback function need a

const GdkEventButton*

parameter. What is this ?


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