Quoting James Henstridge <[EMAIL PROTECTED]>:
> I have implemented the set_geometry_hints method for GtkWindow similarly
> to the code Richard Fish posted. The implementation I wrote also lets you
> specify the geometry widget (useful for terminal emulators -- size
> increments are relative to the actual terminal emulator widget).
>
> It works with all the hints in the GdkGeometry structure, and I think I
> got all the bugs out (note to who ever wants to use this code -- setting
> aspect ratios to zero will crash your X server when you resize that
> window).
The function should then throw an exception (it's better to throw an
exception than to freeze the X server :-)
--
Dipl. Inf. (FH) Aaron "Optimizer" Digulla Assistent im BIKS Labor, FB WI
"(to) optimize: Make a program faster by FH Konstanz, Brauneggerstr. 55
improving the algorithms rather than by Tel:+49-7531-206-514
buying a faster machine." EMail: [EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]