Hi!
I'm using Glade+libglade and I try to change the fonts of TextView and
Entry, first with a rc file, then manually with pango.FontDescription,
but nothing: no Error, no change, no nothing...
I'd like to change manually the labels, not through Glade, but also
nothing...
I wonder if it's actually possible. Any experience?
Thank you in advance!
D�vik
---------------------------------------------------
Jabber: [EMAIL PROTECTED], [EMAIL PROTECTED]
Mocosoft messenger: [EMAIL PROTECTED]
PGP: 4DB2B81F
Some code:
#TextView
self.textview = self.ui.get_widget('textview')
self.font_desc = pango.FontDescription('monospace')
self.font_desc.set_size('12000')
self.textview.modify_font(self.font_desc)
#Label
self.labeltcr = self.ui.get_widget ('labeltcr')
self.labeltcr.set_markup('<span face="monospace" size="15000"
foreground="red">title</span>')
self.labeltcr.set_use_markup(gtk.TRUE)
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/