[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Newbie question - replacing Gtk2::Image with another
- From: Gavin Brown <gavin brown uk com>
- To: John Ello <jello waste org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Newbie question - replacing Gtk2::Image with another
- Date: 21 Aug 2003 09:17:39 +0100
> Hi. I have an app that displays a Gtk2::Image in a Frame, and that
> works fine. I'm not quite able to figure out how to then replace that
> image with a different one.
Use the set_from_* methods:
$image->set_from_file()
$image->set_from_image()
$image->set_from_pixbuf()
$image->set_from_pixmap()
$image->set_from_stock()
Incidentally, I use devhelp for browsing Gtk+ documentation. It's at
http://www.imendio.com/projects/devhelp/.
Gavin.
--
Gavin Brown
e: gavin brown uk com
w: http://jodrell.net/
PGP/GPG key ID: 891D8FCA
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]