Hi,
I'm trying to make one of my cell renderers adhere to the theme font
selected.
I have something like
-
style myentry {
font_name = Courier New 12
}
widget_class *TCellRendererEditLine* style myentry
widget_class *CellRendererText* style myentry
The style objects and helpers haven't been reimplemented yet and isn't
fully bound.
Cheers,
Matt
On Thu, Oct 11, 2001 at 02:21:25AM +0900, Tamito KAJIYAMA wrote:
Hi,
I have trouble with regard to PyGTK 1.99.3 (together with GTK+
1.3.9 and Python2.2a4). I know that the `Style' object in
Hello
I've got two questions:
1. Is it possible to change the style property bg_pixmap with widget.set_style()?
When I try this, Python complains that bg_pixmap can only take a GdkPixmap as
value.
Is pix in the following line not a GdkPixmap?
pix, mask =
After of fighting much I have managed to control the progress bar
(thanks to the people that helped me). Now I have the following
problem: I want to change the color of the bar. I have tried all
type of combinations of styles and I have not obtained it.
Since I can do it?
mycolor =
On Thu, 24 Aug 2000 11:45:16 +0200, Javi Roman [EMAIL PROTECTED] wrote:
After of fighting much I have managed to control the progress bar
(thanks to the people that helped me). Now I have the following
problem: I want to change the color of the bar. I have tried all
type of combinations of
On Thu, Mar 02, 2000 at 10:47:06AM +0100, Javi Roman wrote:
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
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
Hi:
I have a program that uses black background color in the main window:
...
window = GtkWindow ()
style = window.get_style ().copy ()
style.bg[STATE_NORMAL] = style.black
window.set_style (style)
...
When I put any