Re: [gtk-list] Setting size of widget problem...
- From: Joshua Richardson <jric bu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Setting size of widget problem...
- Date: Thu, 1 Jul 1999 09:34:44 -0400 (EDT)
> I was using gtk_widget_set_usize to set the size of some widgets, but
> the only problem I see is that it sets a minimum size restriction of the
> widget. In an app of mine, before it is closed it saves the size of some
> widgets, and next time it starts up, it'll retrieve this size, and use
> gtk_widget_set_usize to set the sizes back. So, if the user maximizes the
> program, and then closes it, next time they start it back up, it is still
> this size, and they can't shrink it. I have tried setting the values of
> the allocation fields for the widget, and doing a gtk_widget_quue_resize,
> but this don't do anything. What is the proper way for me to do this? I
Try gtk_window_set_policy().
Best, --josh
----------------------------------------------------------------
Joshua Richardson
Dept. Cognitive and Neural Systems / Center for Adaptive Systems
Boston University
----------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]