Hi all;

I have the following piece of code the 'recolor' the label in a
notebook tab.

<snip>

        style = self._tab_label.get_style()
        new_style = style.copy()
        new_style.fg[0] = self.cols['blue']
        self._tab_label.set_style(new_style)

</snip>

It works fine, the tab does indeed become blue ... except the font now
also changes to a much bigger one ( I have a .gtkrc set for a smaller
font, it seems to revert to the default font size ).

Anybody know how to stop this and keep the font the same ?

 many thanks - mallum.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to