Re: [gtkmm] Problem with Gdk::Pixbuf in Gtk::TreeView
- From: Simon Fuhrmann <NightSlayer gmx de>
- To: Murray Cumming <murrayc usa net>
- Cc: Martin Schulze <martin-ml hippogriff de>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Problem with Gdk::Pixbuf in Gtk::TreeView
- Date: Fri, 5 Sep 2003 18:05:04 +0200
On Fri, Sep 05, 2003 at 05:47:53PM +0200, Murray Cumming wrote:
>> /* Create renderer */
>> Gtk::CellRendererPixbuf *imagerenderer =
>> Gtk::manage(new Gtk::CellRendererPixbuf);
>> /* Create col */
>> Gtk::TreeViewColumn* iconcolumn =
>> Gtk::manage(new Gtk::TreeViewColumn("Icon", *imagerenderer));
>> /* Add renderer and Gtk::ModelViewColumn to the Gtk::TreeView::Column */
>> iconcolumn->set_renderer(*imagerenderer, this->column_set.icon);
>> /* Add col to Gtk::TreeView */
>> this->tree_view.append_column (*iconcolumn);
> I haven't been following this, but it really should work with a simple
> append_column(). Surely we do this in the demos or examples? I'd like a
> test case in bugzilla, please, if that doesn't work.
In my case it does definitively not work with a simple append_column().
The idea of an older version came into my mind. I am using to following
version, from Debian sarge:
black:/home/simlan# apt-cache show libgtkmm2.0-dev
Package: libgtkmm2.0-dev
Priority: optional
Section: libdevel
Installed-Size: 8260
Maintainer: Bradley Bell <btb debian org>
Architecture: i386
Source: gtkmm2.0
Version: 2.2.2-1
Replaces: libgtkmm1.3-dev
Depends: libgtkmm2.0-1c102 (= 2.2.2-1), libgtk2.0-dev (>= 2.2.0),
libsigc++-1.2-dev (>= 1.2.3-1)
Suggests: libgtkmm2.0-doc
Conflicts: libgtkmm1.3-dev
Filename: pool/main/g/gtkmm2.0/libgtkmm2.0-dev_2.2.2-1_i386.deb
Size: 1547086
Should I still write something for bugzilla?
Regards.
--
Simon Fuhrmann | NightSlayer at gmx.de | http://www.dismember.de
All people talk about the real life, but where can I download it?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]