On Mon, 8 May 2000 [EMAIL PROTECTED] wrote:

> Greetings,
> 
>       Does anybody know how to put underscores under a selected letter
> of the items in a menu bar ? (You know the now traditional _File
> -underscore under F- means <alt>F should pop-down the File menu...
> 
> By the way I do not want to add an explicit accelerator which will yield
> to ALT+ Whaterver in the menu

Use the GtkItemFactory class.  It was the successor of the GtkMenuFactory
code (which the code in GtkExtra.py is based on).  It will handle the
underscores and setting up the correct accelerators.

> 
> 
> Thanks all 
> 
> _____________________________________________________________
>                                                       
>                                       LaBoufarikoise
> 

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to