Re: [gtkmm] Pixbufs in treeviews under win32

Ole Laursen <olau hardworking dk> writes:

> Murray Cumming Comneon com writes:
> [...]
> > > My fix for this was to create a Gtk::CellRendererPixbuf, and 
> > > add it to 
> > > a Gtk::TreeColumn, connecting all of the properties to the 
> > > ColumnRecord 
> > > manually. Then add the Gtk::TreeViewColumn to the Gtk::TreeView. For 
> > > some reason this method works while the "easy" way doesn't.
> > 
> > This shouldn't be necessary. I'd be very surprised if it's necessary on
> > linux, because it's being used lots. You should tell us about problems.
> I had a similar issue with pixbufs and treeviews where compiling the
> program with -O3 would make the program crash with a mystical type
> mismatch error from glib, whereas -O0 worked fine. I just need to get
> around to producing a smaller test program that exhibits the same
> behaviour.

BTW, this is under Debian with Debian packages. My friend had the same
problem with Gentoo and tarball packages from the FTP site.

Ole Laursen

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]