From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp5-1.free.fr!not-for-mail From: Thomas Newsgroups: comp.lang.ada Mail-Copies-To: nobody Subject: Re: Gtk.Image.Gtk_Image References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Date: Wed, 30 Mar 2022 04:58:33 +0200 Message-ID: Organization: Guest of ProXad - France NNTP-Posting-Date: 30 Mar 2022 04:58:34 CEST NNTP-Posting-Host: 91.175.52.121 X-Trace: 1648609114 news-2.free.fr 8899 91.175.52.121:3514 X-Complaints-To: abuse@proxad.net Xref: reader02.eternal-september.org comp.lang.ada:63676 List-Id: In article , "Dmitry A. Kazakov" wrote: > On 2022-03-27 18:41, Thomas wrote: > > > i don't think it's pertinent to apply full flexibility to all widgets, > > but : > > > > as is, i get 2 differents behaviors : > > > > - with Tcl/Tk, the window can be fully resized, the overflowing widgets > > are hidden, and still shown when the window is enlarged. > > This is of course unacceptable behavior. when i'll review windows, i hope Simon Wright will be available to help me ;-) i don't know tcl at all ! > > - with GTK, the window cannot be fully resized, it is forbidden to hide > > any widget set in the Gtk_Fixed. > The proper approach in case you do not want to resize children is to use > Gtk_Scrolled_Window as the top-level container. yes, when i'll review windows, i'll do that. (afaiu, i need to put a Gtk_Viewport in a Gtk_Scrolled_Window ? a Gtk_Window doesn't do the job ?) > > You can always catch size allocation signals and hide widgets you wanted. it would need to improve the user interface. -- RAPID maintainer http://savannah.nongnu.org/projects/rapid/