From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Using Custom Icons in a Gtk3 program Date: Sun, 2 Mar 2014 10:12:48 +0100 Organization: cbb software GmbH Message-ID: <1rtce96jex0zg.wuwjfe749tz7.dlg@40tude.net> References: <5311a4d3$0$15310$703f8584@news.kpn.nl> <1pwyg6fsfnpoi$.8sg98ddx6p9q$.dlg@40tude.net> <5312f036$0$8282$703f8584@news.kpn.nl> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: cTj7CVEwmZyjrFPUnpIvWg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 1670 Xref: number.nntp.dca.giganews.com comp.lang.ada:185104 Date: 2014-03-02T10:12:48+01:00 List-Id: On Sun, 2 Mar 2014 09:45:59 +0100, ldries46 wrote: >>> 1. Do I have to enter two icons one for the top of the window and one for >>>the program to preset below in the bar. and where do I enter them >> >>? > In Visual C++ 6 I needed to create 2 icons of different size for in the > titel bar of the mainwindow and for outside the program for instance the > lower bar of the screen In GTK the icon source (Gtk_Icon_Source) may hold multiple images of different sizes, more than 2. When the requested size (Icon_Size_Menu, Icon_Size_Small_Toolbar etc) is missing the icon is scaled as appropriate. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de