[pygtk] How do I access CellRenderer for a gtk.ComboBoxEntry?
pogonyshev at gmx.net
Sat Dec 16 05:03:41 WST 2006
John Green wrote:
> According to the pygtk reference documentation for gtk.ComboBoxEntry:
> "A new combo box entry is created and packed with a gtk.CellRendererText but
> no attribute mappings are set on the cell renderer."
> Some of the entries in the list are quite long and so I'd like to set
> 'ellipsize' property on the cell renderer. The trouble is I can't figure out
> >from the docs how I access the cell renderer for this widget. Can anyone
Probably the only possible way is to call clear() to remove the standard
renderer and add a custom one. `text-column' property will not work
anymore, of course.
More information about the pygtk