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



Hi,

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

[1]
https://developer.gnome.org/gtkmm/stable/classGtk_1_1Entry.html#ad39f745e170882bc165f962cce80e578

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 ?

regards,
/nicoo


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