Re: Pixmaps within GtkTreeViews, GtkTreeModels, GtkTreeStores, etc



Hi,

"NavEcos" <ecos navosha com> writes:

> How can I put a GtkPixMap (not a GtkPixBUF) into a GtkTreeView or
> TreeStore actually and have it show up on the View?
> 
> this was pretty easy to do in cTrees and cLists, but as far as I can
> tell, it's impossible to do in a GtkTreeView.  The reason I would
> rather use a PixMap is because it's stored on the server, whereas a
> pixBUF is on the client.  If I'm wrong about that, let me know, and
> I'll just figure out how to use a GtkPixBuf instead.

I doubt that the performance difference will be noticeable but you
could write yourself a cell renderer that deals with pixmaps.


Sven



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