#undef FNAME #undef NAME #undef ICON /* metadata */ #define FNAME textblock_basic_start #define NAME "Textblock Basic" #define ICON "text.png" #ifndef PROTO # ifndef UI # include "main.h" /* standard var */ static int done = 0; /* private data */ static Evas_Object *o_text; /* setup */ static void _setup(void) { Evas_Object *o; Evas_Textblock_Style *st; o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); o_text = o; st = evas_textblock_style_new(); evas_textblock_style_set (st, "DEFAULT='font=Vera,Kochi font_size=8 align=left color=#000000 wrap=word'" "center='+ font=Vera,Kochi font_size=10 align=center'" "/center='- \n'" "right='+ font=Vera,Kochi font_size=10 align=right'" "/right='- \n'" "blockquote='+ left_margin=+24 right_margin=+24 font=Vera,Kochi font_size=10 align=left'" "h1='+ font_size=20'" "red='+ color=#ff0000'" "p='+ font=Vera,Kochi font_size=10 align=left'" "/p='- \n'" ); eo_do(o, evas_obj_textblock_style_set(st), evas_obj_textblock_clear(), evas_obj_textblock_text_markup_set( "
And escaping < and > as well as & as
If you want a newline use <br>
woo a new line!