[pygtk] Inserting items into ComboBox

Mats Taraldsvik mats.taraldsvik at bickeringleague.net
Sat Mar 7 02:01:13 WST 2009


Iirc, these functions only work if you already have added at least a
single item in the ComboBox Items in Glade. A 'None' would suffice.

Mats

On Tue, 2009-03-03 at 16:16 +0100, Johannes Bauer wrote:
> Hi list,
> 
> I've tried for an hour to insert items into a ComboBox - but just don't
> know how. append_text and its variants (insert_text, modify_text,
> prepend_text) don't seem to do the job as they're (from what I could
> read in the GTK documentation) only available for a specialized
> list-type combobox.
> 
> So how do I simply insert items into a combobox during runtime?
> 
> Kind regards,
> Johannes
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list