Re: gtk_set_pixmap
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: shooby kornel szif hu
- CC: gnome-list gnome org
- Subject: Re: gtk_set_pixmap
- Date: Mon, 10 Aug 1998 19:08:51 -0400
> What could I use for a GNOME pixmap in place of gtk_set_pixmap ?
> I done a pixmap with gnome_pixmap_new_from_file, and I wanna draw
> it in room of an another pixmap (to change..) (the other is a GNOME pixmap,
> like this new)
Let's say you have an already-created GnomePixmap. If you want to
change its picture to something else, you can use one of the
gnome_pixmap_load_*() functions:
gnome_pixmap_load_file (GNOME_PIXMAP (gpixmap), "foo.png");
This will change the picture in the gnome pixmap widget.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]