On Sat, 10 Sep 2005 13:04:51 +0200 Utopic <[EMAIL PROTECTED]> babbled:
> > Hi all! I just subscribed this mailing list, hope you can help me > programming with EFL, and someday maybe I can help someone. I'm not an > english native speaker, I understand english far well, but I'm not used > to write it, excuse my mistakes and I would apreciate any correction. > > I want to code a list of user of a chat, similar to the menus of e17, > adding and substracting elements when people enter and exit the chat. I > put a container for all chatters, and every one chatter is an image and > a swallow part to add a txtblk. Whole code is there: > http://pastebin.com/359648 > > It's 3 files, lebutinet.c is the main program, lebutixat.h and > lebutixat.c are the chat itself. I know I have to organize it better, > I'm just starting, trying to know how EFL works. > The problem is on the switch-case of lebutinet, option I, there I have > to add an user cos he joined the chat, doesn't work: > > case 'I': > tt=edje_object_add(evas); > edje_object_file_set(tt, lebutixat->edje.eet, "listas"); > n = evas_object_textblock_add(evas); > //evas_object_resize(n, 80, 20); > edje_object_part_swallow(tt, "gentSW", n); > evas_object_textblock_format_insert(n, > "font=/usr/local/share/evas/Vera.ttf size=10 wrap=word color=#0008"); > evas_object_textblock_text_insert(n, dades); > evas_object_layer_set(tt, 0); > evas_object_show (tt); > esmart_container_element_append(lebutixat->gent, tt); > printf("%s arrives\n", dades); > > break; you REALLY want to be looking into textblock2 - as tectlbock will die soon enough. it maybe ha sa few weeks of life left until i move api's over. :) > -- > In a world without walls, > who needs Gates and Windows? > > -- Utopic > http://www.elblogutopic.tk > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > 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] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel