[pygtk] TextView and rc-style

markus espenhain me at mocisoft.com
Mon Jan 21 05:40:37 WST 2008


hi

is there a way to set the 'font_name' property (or other font
description) for a particular TextView widget?
i've tried:

style "text-view-monospace"
{
	font_name = "monospace 10"
}
widget "*mytxtview*" style "text-view-monospace"

but nothing happens

style definitions containing 'font_name' for other widgets e.g. Label
work fine

any hint?

thanks
markus



More information about the pygtk mailing list