On 11/05/12 23:07, Art B wrote:
> I can't seem to figure/understand how to modify the fonts(name or size)
> trough my elm C client-code. I can do this easily with an edje TEXTBLOCK
> object. But then I miss out on anchors for example.
>
> I would appreciate greatly if someone could explain how to do this with
> elementary for me. A code example would suffice also.

I added a short paragraph to the entry docs to explain how it can be 
done. Doc generation is currently broken on the server, but you can just 
access the following file:
http://svn.enlightenment.org/svn/e/trunk/elementary/src/lib/elm_entry.h 
and search for entry-style-set.

Also, there's a code example available in ecrire ( 
http://svn.enlightenment.org/svn/e/trunk/ecrire/ ). Or more 
specifically, in main.c:510, function: "editor_font_set". You should 
probably check that out as well.

--
Tom.

------------------------------------------------------------------------------
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

Reply via email to