Re: g_signal_connect -- "button-press-event" vs "pressed"



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]