Re: Initial size of GtkDrawingArea or GtkScrolledWindow
- From: Sal Valente <svalente akamai com>
- To: Paul Davis <pbd op net>
- Cc: gtk-list gnome org
- Subject: Re: Initial size of GtkDrawingArea or GtkScrolledWindow
- Date: 01 Aug 2002 12:16:46 -0400
Paul Davis wrote:
> >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.
Thanks. I tried that, and it looked like it worked at first. But, like
gtk_widget_set_usize(), that seems to set the widget's minimum size.
(sawfish won't let me make the window any smaller.)
Sal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]