On Wed, 17 Sep 2008 18:34:08 +0300 "Veli Ogla Sungutay" <[EMAIL PROTECTED]> babbled:
> 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 :)) cool. well with evas you just hook to callbacks (key down and up) and focus the object so that object gets the key events for the canvas :) > 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 > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- 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