Thank you for taking time to make suggestions. Ali: It is edje code. Unfortunately that doesn't work :(
Michael: The keyboard has been made a couple of days ago. There are easy fixes for that, thank you anyway. I think I have not done a good job making my point. 1 - In edje sometimes passing a string works and in some instances it doesn't. 2 - There is a really weird behavior in textblock when inserting a emoji. As a new in EFL I just wanted to point out things that I found were a bit gotchas. Regards On Sun, Nov 24, 2019 at 1:43 PM Ali Al-Zyoud <[email protected]> wrote: > ""e" us not valid in EFL you should use """ semicolon should be > part of the escape word. > > On Sun, Nov 24, 2019 at 1:50 PM michael bouchaud < > [email protected]> > wrote: > > > If you want to save some of your time to create a virtual keyboard. You > > could take a look into https://git.enlightenment.org/libs/ekbd.git/. > It's > > a > > library who provide a keyboard smart evas object. > > The keyboard layout is described by plain text .kbd and .tie files. An > > exemple of use is also provided. The theme is based on edge so easy to > > customize. The key pressed is just an evas event, if you are on X you > could > > use the function provided by the library if not you could make your own. > > > > Regards > > > > Le ven. 22 nov. 2019 09:54, Pablo Muñiz Gadea <[email protected]> a > > écrit : > > > > > Thank you so so much Hermet for the reply. > > > > > > ""e" is the first thing I tried. It does not work :( . I did what > you > > > suggest. I only send this because I think its a big gotcha that in > > > edje text.text: > > > "\"" works but emit("key_pressed", "\""); doesn't. > > > > > > > > > > > > On Fri, Nov 22, 2019 at 1:49 AM Hermet Park <[email protected]> > > wrote: > > > > > > > Seems edje compiler doesn't care of slash + symbols moment, How > about > > > > sending markup name instead? i.e ""e" > > > > Probably you can remap the signal source to actual key name in the > > code. > > > > > > > > On Thu, Nov 21, 2019 at 8:59 PM Pablo Muñiz Gadea < > > [email protected]> > > > > wrote: > > > > > > > > > Hi guys. > > > > > > > > > > I have 1 problem with EDJE and 2 weird things. I will link the > videos > > > so > > > > > you can see what I mean. > > > > > > > > > > On EDJE, displaying quotations on a text with text.text: "\""; > works > > > > fine. > > > > > But when I try to send the signal with > > > > > script{ > > > > > if(get_int(toggle_shift_state) == 0) { > > > > > emit("key_pressed", "2"); > > > > > } > > > > > else { > > > > > *emit("key_pressed", "\"");* > > > > > } > > > > > } > > > > > > > > > > I get the error: > > > > > > > > > > edje_cc: Error. Parse error keyboard.edc:7242. { marker does not > have > > > > > matching } marker > > > > > edje_cc: Error. PARSE STACK: > > > > > collections.group.programs.program.script > > > > > edje_cc: Error. PARAMS: > > > > > > > > > > BTW its not a {} problem. > > > > > > > > > > How can I escape that key in that instance? > > > > > > > > > > Next 2 videos are not important for me but I think it might help > you. > > > > > > > > > > https://youtu.be/Ci42xl16Fhw > > > > > https://youtu.be/vEc-Xwlk4zU > > > > > > > > > > _______________________________________________ > > > > > enlightenment-devel mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > > > > > > > -- > > > > Regards, Hermet > > > > > > > > _______________________________________________ > > > > enlightenment-devel mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > _______________________________________________ > > > enlightenment-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
