|
Re: Multiple columns in a ComboBoxEntry: msg#00129gnome.gtk+.python
Greg Aumann wrote: I am pretty new to PyGTK and am having some trouble trying to get aYou can pack more cell renderers into the comboboxentry for display in the popdown menu by using the CellLayout pack_start() method and then set the attributes using the set_attributes() or add_attribute() methods: cell = gtk.CellRendererText() combo.pack_start(cell) combo.add_attribute(cell, 'text', 2) Repeat as needed :-) John _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Multiple columns in a ComboBoxEntry: 00129, Greg Aumann |
|---|---|
| Next by Date: | ANNOUNCE: PyGTK 2.5.1 released (unstable): 00129, Johan Dahlin |
| Previous by Thread: | Multiple columns in a ComboBoxEntryi: 00129, Greg Aumann |
| Next by Thread: | Re: Multiple columns in a ComboBoxEntry: 00129, Greg Aumann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |