On Fri, Mar 19, 2004 at 03:47:41PM -0600, Doug Quale wrote:
> Maik Hertha <[EMAIL PROTECTED]> writes:
>
> > Unfortunately the itemfactory interprets the char '_' as
> > accelerator marker vor the following char.
> > So my question is. How could I avoid the interpretation of the char
> > '_' (underscore) as accelecation marker in the menu item ('DLName
> > "%s"') ?
>
> Double the underscore and the menu should display a single underscore
> instead of creating an accelerator. The replace() method should work:
>
> dl.replace('_', '__')
This was in FAQ 9.5, which I moved to section 7 for improved clarity:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq07.006.htp
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/