Re: g_signal_connect -- "button-press-event" vs "pressed"
- From: "Gian Mario Tagliaretti" <gianmt gnome org>
- To: email micahcarrick com
- Cc: gtk-list gnome org
- Subject: Re: g_signal_connect -- "button-press-event" vs "pressed"
- Date: Wed, 26 Dec 2007 22:49:42 +0100
On Dec 26, 2007 10:23 PM, Micah Carrick <email micahcarrick com> wrote:
> So as you can see, the "pressed" signal from GtkButton is what you want
> to connect to for a user clicking a button. If you want to capture the
> mouse clicking on a widget... any widget... you use "button-press-event".
Just a little note, "pressed" has been deprecated in favour of
"button-press-event" but I would bet that the signal you are looking
for is the "clicked" of GtkButton.
cheers
--
Gian Mario Tagliaretti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]