On Fri, Mar 07, 2003 at 03:05:56PM +0100, [EMAIL PROTECTED] wrote:
> I have a list-widget, which I would like to display a popup menu or rather
> a Optionmenu in one of the columns, I've done this by using a VBox next to
> the list-widget and packing it with OptionMenus, but when changing the
> list, I can't delete the OptionMenus, or rather, it appears I _can_ delete
> them, but not attach a new menu to them.

If you are using PyGTK-0.x this will be much more complicated than using
the new TreeView in PyGTK-1.99/2.x. The original List/CList widgets are
very much targetted at text.

> I've been using both optionmenu.destroy() and vbox.destroy_children() (or
> whatever the name), but I still can't add a menu to the new OptionMenus.

Have you tried creating a GtkMenu manually and then using
optionmenu.set_menu()?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to