Re: [E-devel] * character for target and source
2009/1/22 Oguz Yarimtepe comp@gmail.com: At an EDC file it is possible to use * for the signal part and define signals like something_*. I need * usage for the target and source part of my program. I tried it by guessing there is a support for it but it didn't worked. I have some menu1 menu2 .. menuN and each time theh have a mouse in, going to same state. Both should work it's a bug in edje or in your edc. Can you show it to us ? Or at least a minimal example that reproduce this behaviour. What should i use to define such a things instead of writing program sections for each menu at the EDC file? The matching engine should work like fnmatch, giving the possibility to match multiple * or ? any where in both string. -- Cedric BAIL -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] * character for target and source
Here it is. program { name: menu1,foc; signal: mouse,in; source: menu1; action: STATE_SET active 0.0; transition: ACCELERATE 0.1; target: menu1; target: menu1txt; after: menu1,effect; } If i make the menu1 parts to menu* it says no program is defined with the name menu1 On Thu, Jan 22, 2009 at 10:53 AM, Cedric BAIL cedric.b...@free.fr wrote: 2009/1/22 Oguz Yarimtepe comp@gmail.com: At an EDC file it is possible to use * for the signal part and define signals like something_*. I need * usage for the target and source part of my program. I tried it by guessing there is a support for it but it didn't worked. I have some menu1 menu2 .. menuN and each time theh have a mouse in, going to same state. Both should work it's a bug in edje or in your edc. Can you show it to us ? Or at least a minimal example that reproduce this behaviour. What should i use to define such a things instead of writing program sections for each menu at the EDC file? The matching engine should work like fnmatch, giving the possibility to match multiple * or ? any where in both string. -- Cedric BAIL -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] * character for target and source
2009/1/22 Oguz Yarimtepe comp@gmail.com: Here it is. program { name: menu1,foc; signal: mouse,in; source: menu1; action: STATE_SET active 0.0; transition: ACCELERATE 0.1; target: menu1; target: menu1txt; after: menu1,effect; } If i make the menu1 parts to menu* it says no program is defined with the name menu1 My bad, I think I miss understood you. Only signal and source offer matching capability right now. If I understand you correctly you want that if we match menu1 in the source, we send the signal to menu1, same goes with menu2, menu3, ... If that's right, then it's not currently possible, and I don't know if we want to introduce this kind of feature (it shouldn't be hard to add). -- Cedric BAIL -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] * character for target and source
2009/1/22 Oguz Yarimtepe comp@gmail.com: I am rewriting the same program but instead of menu1's i am writing menu2 for a part related with menu2, ... So much repeating. This is not really a specific solution, more a workaround: As edje uses the C preprocessor, you can use macros, via #define. So instead of repeating, write a macro and use that. Think there should be a lot of examples, if you don't find one, ask and I will post one. What is the usage of #include statement at the EDC file. How will i refer to the part at another edc in my main edc program section? #include inserts the included file as it is at this part of the edc. So if you have a file that has only part {...} use #include inside the main edc's parts {...} -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] * character for target and source
Hi, At an EDC file it is possible to use * for the signal part and define signals like something_*. I need * usage for the target and source part of my program. I tried it by guessing there is a support for it but it didn't worked. I have some menu1 menu2 .. menuN and each time theh have a mouse in, going to same state. What should i use to define such a things instead of writing program sections for each menu at the EDC file? -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel