[E-devel] [Question] About propagate events on edc script.

2013-03-28 Thread Bluezery
Dear EFL developers,

In edc script, there does not exist propagate_events so the each part
always propagate their events to their parents if I add a evas event
callback to layout or edje.
Is this intentional or not?
Of course, I can use the elm_layout_signal_callback_add or
edje_object_signal_callback_add to any part to receive events just for
the part. But  Is this possible to block the event propagation just on
edc script file?

-- 
BRs,
Kim.

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Question] About propagate events on edc script.

2013-03-28 Thread Davide Andreoli
2013/3/28 Bluezery ohpo...@gmail.com

 Dear EFL developers,

 In edc script, there does not exist propagate_events so the each part
 always propagate their events to their parents if I add a evas event
 callback to layout or edje.
 Is this intentional or not?
 Of course, I can use the elm_layout_signal_callback_add or
 edje_object_signal_callback_add to any part to receive events just for
 the part. But  Is this possible to block the event propagation just on
 edc script file?


If I understand correctly you are searching for repeat_events in edc
parts to
block or propagate the events



 --
 BRs,
 Kim.


 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Question] About propagate events on edc script.

2013-03-28 Thread Iván Briano
On Thu, Mar 28, 2013 at 4:47 PM, Davide Andreoli d...@gurumeditation.it wrote:
 2013/3/28 Bluezery ohpo...@gmail.com

 Dear EFL developers,

 In edc script, there does not exist propagate_events so the each part
 always propagate their events to their parents if I add a evas event
 callback to layout or edje.
 Is this intentional or not?
 Of course, I can use the elm_layout_signal_callback_add or
 edje_object_signal_callback_add to any part to receive events just for
 the part. But  Is this possible to block the event propagation just on
 edc script file?


 If I understand correctly you are searching for repeat_events in edc
 parts to
 block or propagate the events


I don't think so. At least on Evas, repeat_events will make events be repeated
to objects stacked below the one taking them. Propagate events is used to make
the parent object, in case of smart objects, receive the events from
their children.



 --
 BRs,
 Kim.


 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Question] About propagate events on edc script.

2013-03-28 Thread Bluezery
2013/3/29 Iván Briano sachi...@gmail.com:
 On Thu, Mar 28, 2013 at 4:47 PM, Davide Andreoli d...@gurumeditation.it 
 wrote:
 2013/3/28 Bluezery ohpo...@gmail.com

 Dear EFL developers,

 In edc script, there does not exist propagate_events so the each part
 always propagate their events to their parents if I add a evas event
 callback to layout or edje.
 Is this intentional or not?
 Of course, I can use the elm_layout_signal_callback_add or
 edje_object_signal_callback_add to any part to receive events just for
 the part. But  Is this possible to block the event propagation just on
 edc script file?


 If I understand correctly you are searching for repeat_events in edc
 parts to
 block or propagate the events


 I don't think so. At least on Evas, repeat_events will make events be repeated
 to objects stacked below the one taking them. Propagate events is used to make
 the parent object, in case of smart objects, receive the events from
 their children.

When I tested, only way to block the event propagation from each edje
part to their parent (edje object) is to set mouse_event: 0 for each
part.
But It makes each part can not receive all events eventhough they want
events and dont want propagate those.
Swllowed part can block event progation by setting propagate_events as
0  on the C code for the swallowed evas object.




 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
BRs,
Kim.

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel