Re: [gtk-list] pixmap in button: How?



On Tue, 4 May 1999, Farid Elyahyaoui wrote:

> I want to set the contents of a pushbutton to a pixmap rather than a
> text label.
> How to do this in gtk?
> I know I can set a background resource in a resource file but I want to
> set an (untiled)
> pixmap and switch between different Pixmaps

simply add a GtkPixmap to the button instead of a label, the
testgtk Pixmap example shows how to achive that.

---
ciaoTJ



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