I have:
...
style = self.window.get_style ().copy ()
style.bg[STATE_NORMAL] = style.black
self.window.set_style (style)
...
This works correctly, but i want a red background color, and i try:
...
style.bg[STATE_NORMAL] = style.red
There isn't a style.red attribute. To create the colour red in the
colormap used by the widget, use one of the following:
red = widget.get_colormap().alloc('red')
red = widget.get_colormap().alloc('#ff')
red = widget.get_colormap().alloc(0x, 0, 0)
All these forms are equivalent
The GtkWidget.set_scroll_adjustment method wasn't returning the result
from the gtk_widget_set_scroll_adjustments extension module function. The
patch below adds the return to the method; it was made against the pygtk
0.6.4 release.
John
*** /home/jpe/down/pygtk-0.6.4/gtk.py Wed Feb 16
I need a GtkVBox with buttons but i want that this vbox has a pixmap
background. How i can do it?
I need a simple example. Thaks.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]