On Monday 24 March 2003 06:43, Michael McLay wrote:
> Do you think it would be harmful to put the PyGtk package into the
> standard distribution prior to it being documented?
YES!
The problems with Tkinter that you mentioned were always a black eye for
Python acceptance. Proposing another (se
On Wednesday 05 March 2003 16:31, Johan Dahlin wrote:
> Use widget.modify_bg(state, color), eg:
>
> button.modify_bg(gtk.STATE_ACTIVE, gtk.gdk.color_parse("#00ff00"))
Actually, I had tried that, but there is yet another tricky bit. The
toggle gets re-drawn with the new color, but then get immedi
I'd like to change the color of a ToggleButton when it is pushed in:
preferably the background color, but the text color would work too.
I would guess that you can do this by setting the right color for the
right state. However, I can't find any documention about what state
applies when. This
On Monday 24 February 2003 09:29, Dan Christian wrote:
> When I do drawingArea.draw_lines() with a GC set to a specific
> foreground color, the first part of the line sequence will draw in
> the right color, but then the rest reverts to black.
Never mind, my bug.
The color change
I'm running pygtk2-1.99.13 with RedHat 7.3.
When I do drawingArea.draw_lines() with a GC set to a specific
foreground color, the first part of the line sequence will draw in the
right color, but then the rest reverts to black.
The number of segments before the color change occurs is consistent
> I want it to display always the
> lowest part of the widget inside it (a gtk.textview)
I found this to be more difficult that it looked.
The way that I did it for a scrolling text window is to set a Mark at
the end of the buffer like this:
self.endMark = self.msgBuffer.create_mark (
This seems like an obvious question, but I've found the answer quite
elusive.
How do you draw in a DrawingArea with PyGtk2?
Gtk uses gdk calls, but there are no docs or examples for Python.
You used to be able to use gtkglarea and PyOpenGL, but gtkglarea doesn't
seem to be supported for gtk2 (