Page MenuHomePhabricator

Closed, ResolvedPublic


class @beta Efl.Input.Hold extends Efl.Object implements Efl.Input.Event
   [[Event data sent when inputs are put on hold or resumed.]]

Related Objects

segfaultxavi triaged this task as TODO priority.
zmike moved this task from Backlog to Evaluating on the efl: api board.May 16 2019, 10:53 AM

Mhm, I am really not sure when this is used or useful.

It would be good to see if there's a use case for this?

zmike added a comment.Jun 12 2019, 7:31 AM

Okay, this is for EVAS_CALLBACK_HOLD, which is sort of in use internally...

Does that mean that it should not be public API?

zmike added a comment.Jun 13 2019, 6:12 AM

I'm not sure if it needs to be; I've never seen it used by an application. @cedric what do you think?

I think this needs to be public i guess, and i am seeing meanwhile what it is helpful for. So i would say this is fine ?

bu5hm4n moved this task from Evaluating to Stabilized on the efl: api board.Jun 27 2019, 9:13 AM

What is the difference between efl_input_processed_set/get and efl_input_hold_set/get?
Are they duplicated?

hold works on a higher level than processed

processed: in the process of propagation through the tree of objects in a canvas, a object can decide to set the processed flag on this event. When that is done, other should not deal with this event again.

hold: Something happened that the tree of object should forget about the previous state of events (for example forget that something like pressed). The parameter (true or false) comes from the outside. As an example: A user tabs out of the window, the input for the client is set on hold.