Forum: wxRuby Keyboard only menus

Posted by Dunlop, Andrew (Guest)
on 2010-05-20 10:15
(Received via mailing list)
Hello all,

I have a popup menu which I want to only be controllable using keyboard
(actually it's a games controller mapped to key presses, but that's not
important).

I'm not sure it would be possible to restrict menus like that but
thought I would ask the question just in case.

Thanks,

Andrew

------------------------------------------------------------------------
Andrew Dunlop  MEng(Hons) MIET
Engineer

Tel:    +44 (0)1794 833441
andrew.dunlop@roke.co.uk

--
Roke Manor Research Ltd, Romsey,
Hampshire, SO51 0ZN, United Kingdom

A Siemens company
Registered in England & Wales at:
Siemens plc, Faraday House, Sir William Siemens Square,
Frimley, Camberley, GU16 8QD. Registered No: 267550
------------------------------------------------------------------------
Visit our website at www.roke.co.uk
------------------------------------------------------------------------
The information contained in this e-mail and any attachments is
proprietary to Roke Manor Research Ltd and must not be passed to any
third party without permission. This communication is for information
only and shall not create or change any contractual relationship.
------------------------------------------------------------------------

Please consider the environment before printing this email
~
Posted by Alex Fenton (Guest)
on 2010-05-21 15:00
(Received via mailing list)
hi Andrew

Dunlop, Andrew wrote:
>
> I have a popup menu which I want to only be controllable using 
> keyboard (actually it’s a games controller mapped to key presses, but 
> that’s not important).
>
> I’m not sure it would be possible to restrict menus like that but 
> thought I would ask the question just in case.
>

Not sure I understand 100% - but Wx::AcceleratorTable offers a concise
way to define keyboard shortcuts for a Frame etc. But using a normal
desktop context menu would kind of imply control by mouse or keyboard,
no? Unless you hide the mouse pointer, somehow?

cheers
alex
Posted by Andrew Dunlop (ajdunlop)
on 2010-05-25 15:32
Alex Fenton wrote:
> hi Andrew
> 
> Dunlop, Andrew wrote:
>>
>> I have a popup menu which I want to only be controllable using 
>> keyboard (actually it�s a games controller mapped to key presses, but 
>> that�s not important).
>>
>> I�m not sure it would be possible to restrict menus like that but 
>> thought I would ask the question just in case.
>>
> 
> Not sure I understand 100% - but Wx::AcceleratorTable offers a concise
> way to define keyboard shortcuts for a Frame etc. But using a normal
> desktop context menu would kind of imply control by mouse or keyboard,
> no? Unless you hide the mouse pointer, somehow?
> 
> cheers
> alex

I am using a pointer mapped to a controller joystick and then when the 
menu pops up I want to navigate the menu using the D-pad as this is 
easier.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.