Re: Window size



Use gtk_window_set_default_size() to set the size of the window (do not
give explicit sizes to any child widgets), and call
gtk_window_set_policy() to enable the allow_shrink flag on the window.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Thu, 17 Jun 1999, Chad Nicolas Tindel wrote:

> I've tried everything I can think of to get the main window to be the
> right size, but nothing seems to work.  I've tried
> gtk_widget_set_default_size(), set_usize(),
> gnome_win_hints_set_expanded_size(), and a host of others.  When I
> manually resize the window, it can't get any smaller than the size I'm
> requesting, but it should start out that way?  This is the last pending
> issue on my senior project, and I'd really like to get it finished.
> Please Please send suggestions!
> 
> Thanks,
> 
> Chad
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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