Re: [gtkmm] Packing a Gdk::Pixbuf into a Gtk::Box
- From: Murray Cumming <murrayc murrayc com>
- To: Hyrum Wright <hyrum_wright byu edu>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Packing a Gdk::Pixbuf into a Gtk::Box
- Date: Thu, 06 May 2004 22:22:00 +0000
On Thu, 2004-05-06 at 13:41 -0600, Hyrum Wright wrote:
> I am attempting to put an image in the form of a Pixbuf into an HBox
> that lives on a Button. The only problem is that all Pixbuf creation
> functions return RefPtr's, and the pack_start function on the box
> requires a pass by reference, not pointer of the item to be packed.
More importantly, it wants a reference to a _Gtk::Widget_. a Gdk::Pixbuf
is not a Gtk::Widget. Maybe you want to use a Gtk::Image.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]