GDK_HINT_MIN_SIZE in Gtk??



Hello,

in an application using only GDK calls I used

   gdk_window_set_hints(window, 0, 0, 1, 1, 0, 0, GDK_HINT_MIN_SIZE);

to get the effect, that the contents of the window is resized
automatically, when changing the sizte of the window.

Now I tried this using the window element of an GtkWindow, but
this didn't make any effect.  The contents isn't resized but unly
displayed more than once if the window is enlarged or only
partially if the window was made smaller, respectively.

I checked the Gtk+ sources to get a hint how to do this.  The only
HINT-related functions where internal ones and I havn't any idea,
how to access them.

I'm using Gtk+ 1.0.6.

Kind regards

          Andreas.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]