EWL is somewhat more complicated because it maintains an internal representation of the data. This is done so that it can build the entire text representation prior to an evas or any associated evas object being available. That being said, it may provide some hints about how to interact with the textblock.
On Wed, Sep 17, 2008 at 10:34 AM, Veli Ogla Sungutay <[EMAIL PROTECTED]> wrote: > Thanks for tips Gustavo, > > I looked at ewl_text_text_insert_private(), it's called on key down, but I > couldn't quite make the connection between this and evas functions. Maybe > try that later, but I get the idea. > I will experiment with evas_textblock_cursor_text_append, and follow ewl's > ways and tricks here and there. My purpose is just to understand > evas and smartobjects for now, not to reinvent the wheel :)) > > thanks again > > > > On Wed, Sep 17, 2008 at 3:48 PM, Gustavo Sverzut Barbieri > <[EMAIL PROTECTED]> wrote: > >> On Wed, Sep 17, 2008 at 7:41 AM, Veli Ogla Sungutay >> <[EMAIL PROTECTED]> wrote: >> > hey guys, >> > i cannot find a way to create an editable evas textblock. >> > Expected to find something like this: >> > evas_object_textblock_set_editable(tblock, 1); >> > >> > Am i blind? Or do we need to create the textblock with event listeners >> and >> > fill the block in each stroke? >> >> that's it. Evas, albeit easy to use, is meant as a low level library. >> It has no such concept as editable stuff, but it have enough API to >> let you write such. >> >> You can check how ETK and EWL did it. If you want a simple (one line) >> you can look at e17 code. If you're writing an Evas/Edje only >> application, you can still mix ETK and EWL with their "embedded" >> widgets, that returns Evas_Object that you can use. >> >> -- >> Gustavo Sverzut Barbieri >> http://profusion.mobi embedded systems >> -------------------------------------- >> MSN: [EMAIL PROTECTED] >> Skype: gsbarbieri >> Mobile: +55 (19) 9225-2202 >> > > > > -- > Veli Ogla Sungutay > http://gui-rd.org > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel