logo       

Re: stock item: msg#00073

gnome.gtk+.python

Subject: Re: stock item

Am Donnerstag, den 09.12.2004, 18:55 +0100 schrieb Gian Mario
Tagliaretti:
> On Thursday 09 December 2004 11:20, Marcus Habermehl wrote:
> > Hello.
> >
> > Short question: How can I register a new stock item?
>
> Maybe this FAQ can help?
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq09.005.htp

I'm afraid not. For me it looks like I must use this.

gtk.stock_add(('gtk-about', '_Credits', 0, 0, None))

But the result is

Traceback (most recent call last):
File "./about.py", line 62, in ?
gtk.stock_add(('gtk-about', '_Credits', 0, 0, None))
TypeError: items sequence members must be of form (stock_id, label,
modifiers, keyval, domain)

Regards

Marcus

_______________________________________________
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>
Google Custom Search

News | FAQ | advertise