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!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp4-1.free.fr!not-for-mail From: Thomas Newsgroups: comp.lang.ada Mail-Copies-To: nobody Subject: Gtk.Image.Gtk_Image MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Date: Thu, 24 Mar 2022 13:55:04 +0100 Message-ID: Organization: Guest of ProXad - France NNTP-Posting-Date: 24 Mar 2022 13:55:04 CET NNTP-Posting-Host: 91.175.52.121 X-Trace: 1648126504 news-2.free.fr 3428 91.175.52.121:13995 X-Complaints-To: abuse@proxad.net Xref: reader02.eternal-september.org comp.lang.ada:63622 List-Id: Hi :-) To display images, I had a Gtk.Pixmap.Gtk_Pixmap in a Gtk.Event_Box.Gtk_Event_Box. Since Gtk.Pixmap is obsolescent, I try to replace it by Gtk.Image.Gtk_Image. When I replace Gtk.Pixmap.Gtk_Pixmap by Gtk.Image.Gtk_Image, it doesn't work. Why? What's specific to Gtk_Pixmap or Gtk_Image so it has not the same behavior in Gtk_Event_Box? When I replace Gtk.Event_Box.Gtk_Event_Box by Gtk.Image.Gtk_Image, it works fine, except the replacement by an other image. (I try it using Gtk.Image.Get and Gtk.Image.Set, but it doesn't work.) Is there an other container, that I should use instead of Gtk.Event_Box.Gtk_Event_Box that would work and that I should use to replace the image inside? -- RAPID maintainer http://savannah.nongnu.org/projects/rapid/