[pygtk] fix for segfault in PyGdkWindow_PropertyChange

2000-03-06 Thread Charles G Waldman
Trying to set a property with format != 8 was giving me repeatable core dumps; I took a look in gtkmodule.c and found the problem pretty quickly. Here's a patch against pygtk-0.6.4: --- gtkmodule.c~Wed Feb 16 08:57:02 2000 +++ gtkmodule.c Mon Mar 6 19:50:07 2000 @@ -1551,7 +1551,7 @@

[pygtk] How can i draw at the root window

2001-01-19 Thread Charles G Waldman
Eduardo Ferro writes: How can i draw some lines at the root_window? Here is a snippet of code I used to draw a grid on the root window: from gtk import _root_window, draw_line rw=_root_window() cm=rw.colormap yellow=cm.alloc("yellow") rgc=rw.new_gc() rgc.foreground=yellow rgc.line_width=1 w

Re: [pygtk] How can i draw at the root window

2001-01-22 Thread Charles G Waldman
Eduardo Ferro writes: But without the events it isn' t very usefull paint nothing at the root window. Any case i think that it should be possible because some C programs like root-tail do it, they repaint its output when some window erase it Anyway thanks a lot As far as I know

[pygtk] nonint bug in gtk.py

2002-05-23 Thread Charles G Waldman
In gnome-python 1.4.2, gtk.py contains the following code at lines 1044-1047: class GtkBox(GtkContainer): get_type = _gtk.gtk_box_get_type def __init__(self, _obj=None): if nonint: return Problem is nonint doesn't seem to be defined anywhere and this code

[pygtk] nonint bug in gtk.py

2002-05-26 Thread Charles G Waldman
In gnome-python 1.4.2, gtk.py contains the following code at lines 1044-1047: class GtkBox(GtkContainer): get_type = _gtk.gtk_box_get_type def __init__(self, _obj=None): if nonint: return Problem is nonint doesn't seem to be defined anywhere and this code