Re: [gtk-list] Re: GTK_ImLib and resizing of images



On Wed, 4 Mar 1998, Tim Janik wrote:

> ok, if you are taking the hard (GDK ;) way, you might want to take a look
> at gtk/gtkwindow.c:gtk_window_set_hints, this function sets the window
> manager hints according to allow_shrink, i.e. GDK_HINT_MIN_SIZE.
Thanks. The hint led me to 

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

which does the job.

Regards
          Andreas.



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