Re: Key presses



On Tue, 31 Jul 2001, John Cupitt wrote:
> Another option is to add a keyboard accelerator ... this is the mechanism GTK
> uses for the <ctrl>Q or whatever keyboard menu shortcuts. Unfortunately it's
> rather (ahem) weakly documented, as far as I know.
> 
> An easy hack is to make an invisible menu item with your key combination as a
> shortcut, and connect to "activate" on the menu item. You won't get an (x, y)
> position though (did you want that?).

Ah, cool hack. Thanks.

-Andrei
* Unix is user friendly, it is just chooses its users selectively. *




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]