Re: [gtk-list] widgets not always resizing????????????
- From: raster redhat com
- To: owt1 cornell edu
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] widgets not always resizing????????????
- Date: Mon, 19 Jan 1998 21:23:40 -0500 (EST)
On 19 Jan, Owen Taylor shouted:
->
-> raster@redhat.com writes:
->
-> > -> void gtk_window_set_policy (GtkWindow *window,
-> > -> gint allow_shrink,
-> > -> gint allow_grow,
-> > -> gint auto_shrink);
-> > ->
-> > -> But if the configure event gets called with a size the widget
-> > -> doesn't have, that is a bug.
-> >
-> > hmm actually setting auto_shrink to 1 mad eit work.. but i ask.. my
-> > windows did shrink AND grow... i had allow_shirnk and allow_grow on the
-> > parent window on, but not auto_srink... it did work well up to a
-> > point.. is there an untrapped case happening here? I seem to smell it..
-> > but I may be wrong...
->
-> Since there is no documentation, it isn't obvious, but
-> allow_shrink and allow_grow only affect what the user can do.
-> auto_shrink is needed if you want the widget to get smaller
-> without user intervention. (The window can always grow on its own)
hmm looks like that was the pbolem.. no docs.. :) well its my first gtk
app.. at leats its working now.. have to put more desing workin tho..
its more.. well.. functional than beautiful.. :)
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenmenthttp://www.rasterman.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]