[any] formatting text in python elementary buttons

Rui Miguel Silva Seabra rms at 1407.org
Tue Dec 8 20:45:33 CET 2009


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="#ff0000">text</font> ? Perhaps it's all you need.

Rui



More information about the community mailing list