resizing a window

Tor Lillqvist <[email protected]> Wed, 22 Jan 2003 21:38:29 +0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
[email protected] writes:
 > If I attempt to resize a window which I have set to be fixed in size, the
 > window does not resize and remains fixed, but there is a resize icon when I
 > move the mouse over the limits of the window's border.  This gives the wrong
 > impression that the window can be resized.
 > 
 > Can this be fixed?

What GTK+ version?

Try calling gdk_window_set_decorations (window, GDK_DECOR_ALL|GDK_DECOR_RESIZEH|GDK_DECOR_MAXIMIZE). 

I'm not sure if this is implemented correctly in the GDK DLL in the
latest GTK+ 1.3.0 build, but it should be in the latest GTK+ 2.2.0
build.

Do I interpret you correctly that you want that if you have set the
window geometry hints for min and max size, the resizedecorations
should automatically not be shown? Do X11 window managers work like
this?

--tml