[pygtk] styles not styling quite how I want ....

2001-10-31 Thread mallum
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

[pygtk] Re: changing a combo's popdown strings from select-list callback?

2001-10-31 Thread Skip Montanaro
John Hi Skip, I don't know if this is still true for 1.3, but with gtk John 1.2 you got a core if you removed the item with focus from a popup John list. I worked around this by doing a gtk_widget_grab_focus() John somewhere else before doing the delete. FWIW, I wound up