comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas <fantome.forums.tDeContes@free.fr.invalid>
Subject: Re: Gtk.Image.Gtk_Image
Date: Wed, 30 Mar 2022 04:58:33 +0200	[thread overview]
Message-ID: <fantome.forums.tDeContes-23E95A.04583330032022@news.free.fr> (raw)
In-Reply-To: t1q76m$c44$1@gioia.aioe.org

In article <t1q76m$c44$1@gioia.aioe.org>,
 "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> 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/

  reply	other threads:[~2022-03-30  2:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 12:55 Gtk.Image.Gtk_Image Thomas
2022-03-24 13:35 ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-24 15:14   ` Gtk.Image.Gtk_Image Thomas
2022-03-24 15:47     ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-24 18:40       ` Gtk.Image.Gtk_Image Thomas
2022-03-24 20:33         ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-25  1:53           ` Gtk.Image.Gtk_Image Thomas
2022-03-25  7:29             ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-25 19:37               ` Gtk.Image.Gtk_Image Thomas
2022-03-25 20:34                 ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-26  1:38                   ` Gtk.Image.Gtk_Image Thomas
2022-03-26  8:59                     ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-26 17:32                       ` Gtk.Image.Gtk_Image Thomas
2022-03-27  9:33                         ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-27 16:41                           ` Gtk.Image.Gtk_Image Thomas
2022-03-27 17:34                             ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
2022-03-30  2:58                               ` Thomas [this message]
2022-03-30 12:46                                 ` Gtk.Image.Gtk_Image Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox