Re: [gtkmm] Pixbufs in treeviews under win32



On Monday, April 28, 2003, at 02:20  PM, <kickvb touva be> wrote:

Pixbufs do not seem to be displayed in treeviews under win32 ? (even in the
gtkmm demos).

Does someone know something about it ?

I have noticed this as well, although building it in debug mode (-D_DEBUG) seems to make the pixbufs work.

I have experienced this problem on both Linux and Win32, so we might be talking about different issues. However, other than what I am describing here, I have no problems using Pixbufs in Win32 that I didn't also have in Linux.

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.

Anyone have any input or insight on this issue?

--- darco
http://www.deepdarc.com/




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