Re: questions on using icons with GtkButton.



Edward A. Falk wrote:
> I want to put a small bitmap or pixmap into a button instead of a
> text label.  Is GnomePixmap the only/best way to do this?

Hi Edward, for gtk1.2 take a look at the pixmap test in testgtk.c, it 
does this. It works the same way in gtk2 (I think), poke about in the 
demos/examples a bit.

John



========================================================== 
Coming soon:
Fabric of Vision 
Dress and Drapery in Painting 

19 June - 8 September 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/fabric/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]