Re: gtk bug?



Martin Oberzalek <oberzalek@chello.at> writes:

> I created 2 simple windows. On one window there are some 
> pushbuttons and there I choosed the "pressed" signal.
> 
> Now when I press the button, the signal arrives.
> When I click on the other window, this window doesn't react, but
> the "pressed" signal arrives a second time. 
> After clicking a second time on the window, the window reacts.
> 

I don't understand exactly what's happening...

> I solved this problem with using the "clicked" signal instead of the
> "pressed" signal.
> 

However you should always use "clicked", "pressed" is the opposite of
"released" and it's basically useless (95% of the time it's just
confusing, the other 5% of the time someone might actually want to use
it).

Havoc



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