Tap and Hold API

2007-04-17 Thread Kristian Rietveld
Hey all, Recently I have been working on a tap-n-hold implementation based on the implementation found in Maemo. Tap-n-hold allows for a callback to be called after a mouse button has been pressed for a given amount of time This action is particularly useful on touch screen devices, since it can

Re: Tap and Hold API

2007-04-17 Thread Federico Mena Quintero
El mar, 17-04-2007 a las 12:02 +0200, Kristian Rietveld escribió: > Recently I have been working on a tap-n-hold implementation based on the > implementation found in Maemo. Tap-n-hold allows for a callback to be > called after a mouse button has been pressed for a given amount of time > This act

Re: Tap and Hold API

2007-04-26 Thread Kristian Rietveld
Hey Federico, Sorry for the delay with getting back to you. On Tue, Apr 17, 2007 at 02:17:12PM -0500, Federico Mena Quintero wrote: > [snip] > > * Query: once the user presses the mouse button, this signal will be > > emitted to check whether the given location (x, y) allows for executing >

Re: Tap and Hold API

2007-05-01 Thread Federico Mena Quintero
On Thu, 2007-04-26 at 23:40 +0200, Kristian Rietveld wrote: > I was actually planning to push in (x, y) relative to the widget->window. > The new tooltips code is supposed to do the same (however that > documentation says otherwise at this moment, it will be fixed RSN). If we > use this, the wind

Re: Tap and Hold API

2007-05-02 Thread Tim Janik
roximation of "now". and "now" is something that we are actually able to specify precisely by using GDK_CURRENT_TIME. so i'd say that tap-and-hold expiration is one of the rarer cases, where one should always use GDK_CURRENT_TIME for menu popups. that in turn means there'

Re: Tap and Hold API

2007-05-04 Thread Kristian Rietveld
On Tue, May 01, 2007 at 07:47:25PM -0500, Federico Mena Quintero wrote: > > I don't think having widget-specific tap-n-hold animations is a good idea; > > I would say that this is really a theme issue and it would be good if > > every tap-n-hold operation "looks the same" the to user. > > You have

Re: Tap and Hold API

2007-05-10 Thread Federico Mena Quintero
stamp (which would be outdated > or misleading anyway) in the tap-and-hold API. it might make sense to add > this consideration to the docs though. Yeah, very good point - I hate that constant because it makes for buggy programs, but this seems to be one of the very few cases where it

Re: Tap and Hold API

2007-05-10 Thread Federico Mena Quintero
On Fri, 2007-05-04 at 12:15 +0200, Kristian Rietveld wrote: > On Tue, May 01, 2007 at 07:47:25PM -0500, Federico Mena Quintero wrote: > > You have two tap-and-hold actions: pop up a menu and pop up a tooltip > > with extra info. Should those have the same "I'm armed" animations? > > Yes, I would

RE: Tap and Hold API

2007-05-10 Thread Federico Mena Quintero
On Thu, 2007-05-10 at 12:20 -0700, David Moffatt wrote: > So is that a request for a bribe? Give me cool enough swag and I will > let your feature in. :-) It was worth a try :) Federico ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http:

RE: Tap and Hold API

2007-05-11 Thread David Moffatt
-devel-list@gnome.org Subject: Re: Tap and Hold API On Fri, 2007-05-04 at 12:15 +0200, Kristian Rietveld wrote: > On Tue, May 01, 2007 at 07:47:25PM -0500, Federico Mena Quintero wrote: > > You have two tap-and-hold actions: pop up a menu and pop up a tooltip > > with extra info. Should