[931] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Changing pixmaps

daemon@ATHENA.MIT.EDU (Pavel Greenfield)
Wed Sep 10 11:14:22 1997

Date: Wed, 10 Sep 1997 11:14:14 -0400 (EDT)
From: Pavel Greenfield <pavel@riskdevel.ml.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


Actually I just realized that I can't figure out much more than the value
of val in 

GtkWidget* gtk_pixmap_new        (GdkPixmap  *pixmap,
				  GdkBitmap  *mask);
void       gtk_pixmap_set        (GtkPixmap  *pixmap,
				  GdkPixmap  *val,
				  GdkBitmap  *mask);

Can I use these function to change a pixmap that is already appearing in a
button, or do I have to completely reassign (following Ian's
example) pixmapwid to a new value with gtk_pixmap_new() and repack into
the box? (How would you unpack the previous one, then?)

If the above is complete nonsense, then please tell me how you would
change a pixmap (in a button or whatever...)?

Pavel 
------------------------------------------------------ 
  Pavel Grinfeld      |   www.geocities.com/SoHo/5277
  pavel@ml.com        |
  (212) 449 1318 (w)  |  (718) 797 1688 (h)
______________________________________________________

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post