[pygtk] expander column
Danny Milosavljevic
danny.milo at gmx.net
Fri Jan 27 23:06:32 WST 2006
Hi,
Am Freitag, den 27.01.2006, 07:40 +0100 schrieb Le Boulanger Yann:
> Le Boulanger Yann wrote:
> > Hi all,
> >
> > first little question, how can I access to style properties ?
> > treeview.get_property('expander-size') doesn't work. And as doc says
> > it's read only, I suppose I can't change those properties ?
> >
> > In fact I'd like to create my own expander column, because indentation
> > is too big in the default one and
> I want to use my own icons in it.
Please honor the Gtk Theme.
> But
> > I'm unable to do some kind of indentation. In the default expander
> > column it seems the cellrenderer is not the same size on parent and
> > children rows. And I'm not able to reproduce this behaviour.
> >
> > Does someone has an idea ?
> >
> > Thanks in advance
> >
>
> To be more clear, my treeview contains 2 cellrendererd: a
> CellRendererPixbuf and a CellRendererText. What I'd like to have is sth
> like that:
>
> IMG TEXT
> IMG TEXT
> IMG TEXT
>
> but I'm only able to do that:
>
> IMG TEXT
> IMG TEXT
> IMG TEXT
>
>
> Is there a way to do what I want ?
> maybe create my own cellrenderer that will contain image and text is the
> only way?
pack both cell renderers into one tree view column.
cheers,
Danny
More information about the pygtk
mailing list