[any] formatting text in python elementary buttons

2009-12-08 Thread Josh Thompson
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?  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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [any] formatting text in python elementary buttons

2009-12-08 Thread Bernd PrĂ¼nster
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@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [any] formatting text in python elementary buttons

2009-12-08 Thread Rui Miguel Silva Seabra
On Tue, Dec 08, 2009 at 10:09:17AM -0500, 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?  I've been using the source control 
 browsing for python-elementary[1] and looking at shr-settings as a guide so 
 far.

Have you tried font color=#fftext/font ? Perhaps it's all you need.

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community