Re: how to set a callback function to an icon in an entry ?
- From: Nicolas Jäger <jagernicolas legtux org>
- To: gtkmm-list gnome org
- Subject: Re: how to set a callback function to an icon in an entry ?
- Date: Wed, 21 Jan 2015 23:30:35 -0500
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]