[pygtk] Change font of a CellRendererText

Guilherme Salgado salgado at freeshell.org
Thu Nov 18 23:40:10 WST 2004


On Thu, 2004-11-18 at 12:45 -0200, Christian Robottom Reis wrote:
> On Wed, Nov 17, 2004 at 07:56:14PM -0800, John Finlay wrote:
> > David Gil Oliva wrote:
> > 
> > >Can anyone tell me how can I change the font description of a
> > >CellRendererText to, for instance, Courier 12? It's a silly question,
> > >but I have read the docs and I don't get it.
> 
> -> FAQ 13.40
> 
>     http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.040.htp
> 
> It would be great if someone could contribute some code snippets of
> examples so visitors could see it in action. Any takers?
> 

Following is a simple example. Hope it helps.

--
Salgado
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cell-font-desc.py
Type: application/x-python
Size: 570 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20041118/16037126/cell-font-desc.bin


More information about the pygtk mailing list