introduction, and how to shrink your icons in gtk2

From: <martine_at_cs.washington.edu>
Date: Sat, 2 Nov 2002 00:01:14 -0800

Hi. I'm a pretty experienced GTK programmer with an interest in GTK2
who happened upon an iPAQ, so I figure GPE is the project for me.

Here's a shot of my GTK2-based project running on my iPAQ:
http://www.livejournal.com/talkread.bml?journal=logjam&itemid=46594

And here's the info I promised in the subject:

This isn't documented anywhere in GTK, but I found it from following the
mailing list discussion and then reading the GTK source.

Add this to your ~/.gtkrc-2.0:

gtk-icon-sizes = "gtk-menu=16,16 : gtk-button=16,16 :
gtk-small-toolbar=16,16 : gtk-large-toolbar=16,16 : gtk-dialog=32,32 :
gtk-dnd=32,32"

(That should all be on one line.)
That lets you configure the sizes of the icons used in GTK2 icon sizes;
for some reason the menus seem to ignore the sizes I specify (or only
work in some cases? possibly a bug somewhere) but shrinking the dialog
icons especially makes things a bit easier. For example, the icon next
to "cancel" in the above screen shot can be shrunk with this
configuration.

I have some other (partially wrong, some irrelevant) information about
GTK2 configuration collected on my site:
http://neugierig.org/content/gtk2

Good luck!

-- 
      Evan Martin
martine_at_cs.washington.edu
  http://neugierig.org
Received on Sat Nov 02 2002 - 08:08:13 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:02 EDT