comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Using Custom Icons in a Gtk3 program
Date: Sun, 2 Mar 2014 10:12:48 +0100
Date: 2014-03-02T10:12:48+01:00	[thread overview]
Message-ID: <1rtce96jex0zg.wuwjfe749tz7.dlg@40tude.net> (raw)
In-Reply-To: 5312f036$0$8282$703f8584@news.kpn.nl

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


      reply	other threads:[~2014-03-02  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-01  9:12 Using Custom Icons in a Gtk3 program ldries46
2014-03-01 10:02 ` Dmitry A. Kazakov
2014-03-02  8:45   ` ldries46
2014-03-02  9:12     ` Dmitry A. Kazakov [this message]
replies disabled

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