Hello, As we known that, the user style is a convenience way which helps users to work with style without the need of new edc file. It means that users can set their own style (e.g. font, font_size, color) without making new edc file. Currently, in Elementary Entry, there is no APIs supporting users to deal with user style stack (e.g. adding, removing). I added three APIs to Entry which are: + elm_entry_text_style_user_push: push an style to user style stack. + elm_entry_text_style_user_pop: remove the top style from user style stack. + elm_entry_text_style_user_peek: peek the top style from user style stack. With this modification, users only need to call the new api as below to apply desired style: elm_entry_text_style_user_push(en, "DEFAULT='font_size=40 color=#FF0000'");
Please review this patch. Thanks. Best Regards, Thiep Ha
elm_entry_style_user.patch
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel