Re: Initial size of GtkDrawingArea or GtkScrolledWindow



>How can I set an initial / default size for a GtkDrawingArea or a
>GtkScrolledWindow?  gtk_widget_set_usize() sort of works, but then the
>user can't make the window smaller than the initial size.  (I'm using
>gtk+ 1.2.)

attach to the size_request event, and override the allocation request.



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