From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Gtk.Image.Gtk_Image
Date: Sun, 27 Mar 2022 19:34:15 +0200 [thread overview]
Message-ID: <t1q76m$c44$1@gioia.aioe.org> (raw)
In-Reply-To: fantome.forums.tDeContes-BCB5FD.18415727032022@news.free.fr
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.
In GTK if you want this you simply disable shrinking, expanding,
filling, that would produce this kind of mess.
The proper approach in case you do not want to resize children is to use
Gtk_Scrolled_Window as the top-level container.
[ Without scroll bars it will silently clip, achieving the best
masochistic user satisfaction... (:-)) ]
> - with GTK, the window cannot be fully resized, it is forbidden to hide
> any widget set in the Gtk_Fixed.
You can always catch size allocation signals and hide widgets you wanted.
[ GTK 3 changed the protocol a bit from one in GTK 2, they added
preferable widget sizes, but in essence these details are irrelevant for
Gtk_Fixed. ]
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2022-03-27 17:34 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 ` Dmitry A. Kazakov [this message]
2022-03-30 2:58 ` Gtk.Image.Gtk_Image Thomas
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