I don't think you need a GdkRectangle for this method. The method is defined like:
gtk.Window.set_geometry_hints
def set_geometry_hints(geometry_widget, min_width=-1, min_height=-1, max_width=-1, max_height=-1, base_width=-1, base_height=-1, width_inc=-1, height_inc=-1, min_aspect=-1.0, max_aspect=-1.0)
geometry_widget : the widget the geometry hints will be applied to
min_width : the minimum width of window (or -1 to use requisition)
min_height : the minimum height of window (or -1 to use requisition)
max_width : the maximum width of window (or -1 to use requisition)
max_height : the maximum height of window (or -1 to use requisition)
base_width : allowed window widths are base_width + width_inc * N where N is any integer
base_height : allowed window heights are base_height + width_inc * N where N is any integer
width_inc : the width resize increment
height_inc : the height resize increment
min_aspect : the minimum width to height ratio
: the maximum width to height ratio
The set_geometry_hints() method sets up hints about how a window can be resized by the user. You can set the minimum and maximum widths and heights, the base width and height for resizing, the allowed width and height resize increments (e.g. for xterm, you can only resize by the size of a character), and the minimum and maximum aspect ratios. If geometry_widget is not None it specifies the widget to figure the geometry on.
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
