[any] formatting text in python elementary buttons

Bernd Prünster bernd.pruenster at gmail.com
Tue Dec 8 16:50:21 CET 2009


Josh Thompson wrote:
> I'm converting a small app I wrote in python-gtk to use python-elementary.  I 
> had some buttons where I was using set_use_markup on a button's label to do 
> things like setting the font color and background.  I can't find a way to do 
> that with python-elementary.  Is there a way to do so?  If there is, where 
> should I look for more info on it?  
U need to write an edje data collection. look in enlightenemnt wiki for 
edje.
if you want to see an implementation (although in C) look at the phoneui 
apps of current shr unstable.
also ffalarms uses custom EDCs for led clock
> I've been using the source control 
> browsing for python-elementary[1] and looking at shr-settings as a guide so 
> far.
>
> Thanks,
> Josh
>
> [1] 
> http://trac.enlightenment.org/e/browser/trunk/BINDINGS/python/python-elementary/elementary/
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>   




More information about the community mailing list