How do I create a GdkRectangle?
GTK+ defines a simple graphical type called GdkRectangle, which is described in more detail at [developer.gnome.org] Instead of providing the widget as a Python class, PyGTK allows one to use a tuple wherever a GdkRectangle is expected. You can simply pass in a sequence of 4 integers of the form (x, y,width, height), and it will be interpreted as a rectangle.