Re: [gtkmm] Detecting double-click in a treeview and more



>I don't think it can fix a situation where you register more than one
>callback, but it is easier to use since you don't have to pass false

the whole problem with dbl-click handling is that if you also carry
out some action when a single press happens, its very hard to make
life pleasant for your users. X/GDK has no special magic for double
clicks: it just times the interval between two clicks without motion
between them, and issues a 2BUTTON_PRESS event. 

how you connect handlers makes no difference to the event sequence
that X/GDK will emit.

--p



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