On Fri, 16 Sep 2005 10:24:07 +0200
Alessandro Ferrarin <[EMAIL PROTECTED]> threw this fish to the penguins:
> I realized a popup menu which presents a list of menu items each with a
> 'name':
>
> item = gtk.MenuItem(name)
>
> Now, I would like to simply change the name of some of theese menu
> items.
Hmmm, how about [not tested]:
item.get_child().set_label('new_name')
>
> I can't find a way to do it! How to?
>
> Thanks.
>
> --
> Alessandro Ferrarin <[EMAIL PROTECTED]>
> Tieffe Sistemi S.r.l.
>
> _______________________________________________
> pygtk mailing list [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
--
"Are the gods not just?" "Oh no, child.
What would become of us if they were?" (CSL)
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/