From: Thomas <fantome.forums.tDeContes@free.fr.invalid>
Subject: Re: Gtk.Image.Gtk_Image
Date: Thu, 24 Mar 2022 19:40:39 +0100 [thread overview]
Message-ID: <fantome.forums.tDeContes-F968A4.19403924032022@news.free.fr> (raw)
In-Reply-To: t1i3qd$oud$1@gioia.aioe.org
In article <t1i3qd$oud$1@gioia.aioe.org>,
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote:
> On 2022-03-24 16:14, Thomas wrote:
>
> [...]
>
> > is it clear enough ?
>
> Not really. But anyway it does not work this way.
i don't guess what was missing.
> In order to change
> image's pixbuff you must redraw it afterwards and possibly resize it
> etc. It is possible, but you must understand the inner workings of GTK.
> Much simpler is to replace the image widget as a whole.
ok.
i think that i need not understand the inner workings of GTK to make
RAPID, and i don't want it as long as not needed (i still don't
understand all usages).
afaiu(nderstand), to make mcc.tki.Widget.Picture.Set_Image working, i
absolutely need an intermediate container?
well, why Gtk_Event_Box is not a good container for a Gtk_Image, while
it is a good one for a Gtk_Pixmap?
>
> If you need a button with image just put an image into it. Gtk_Button is
> already a container.
yes, it works fine :-)
> Put Gtk_Box into it. Put Gtk_Image into Gtk_Box.
> That's would be all.
do you mean that (for a simple image, not a button) i should use a
Gtk_Box as intermediate container, instead of a Gtk_Event_Box?
--
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/
next prev parent reply other threads:[~2022-03-24 18:40 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 ` Thomas [this message]
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 ` 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