Jeffrey Barish wrote:

> Does anyone know the magic for creating a ComboBox whose popup menu has
> pull-right submenus?

The magic is to create the ComboBox with an explicit TreeStore (not using
the combo_box_new_text convenience function).  Then you can use the append
method of the TreeStore to add rows.  If the first argument (parent) is
None, the associated row appears at the root level.  If the first argument
is the treeiter for another row, the associated row appears in a submenu
for the other row.
-- 
Jeffrey Barish

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to