RE: resizing a window
[email protected] Mon, 27 Jan 2003 08:56:32 -0000
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <B1F38D7B53615140BCEA6677DF9F2F8C011111E8@i2km11-ukbr.domain1.systemhost.net> |
Yes I read this, and it was most helpful, thanx for your input Tor. > -----Original Message----- > From: Tor Lillqvist [mailto:[email protected]] > Sent: 24 January 2003 21:35 > To: [email protected] > Subject: RE: [gimpwin-dev] resizing a window > > > [email protected] writes: > > Not at all hard, except I am using glade to compile the > interface and > > gtk_window_set_resizable(...) is the function which is > used. Logically it > > makes sence that if a window is set to not be resizeable, the > > GDK_DECOR_RESIZEH decoration (and perhaps > GDK_DECOR_MAXIMIZE) should be > > removed. > > Yes, but the documentation for gtk_window_set_decorated() says > > * Depending on the system, this function may not have any effect when > * called on a window that is already visible, so you should call it > * before calling gtk_window_show(). > > while gtk_window_set_resizable() doesn't have any such restriction, so > mayne it wouldn't be a good idea to call gtk_window_set_decorated() > automatically from gtk_window_set_resizable(). It would be even more > confusing if the resizing decoations were turned off first before the > window is shows, and then if the window was made resizable later (when > visible), turning the decorations back on wouldn't work. > > > Is this a potential improvement to gtk? > > Maybe yes, please open an enhancement request on bugzilla. > > --tml > > > > To Post a message, send it to: [email protected] > To Unsubscribe, send a blank message to: > [email protected] > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ > > > To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/