Displaying 2 results from an estimated 2 matches for "accel_normal".
2008 Jun 28
1
catch all key events in frame?
Hi.
How do I best capture *all* key events in a frame. Specifically: In Albuin I
want to delete selected songs in the playlist when the user presses ''del'' -
no matter what control in the frame happens to be in focused atm. What event
should I bind to and to which control?
(as a side note, the latest svn of albuin fixed the alexs'' problem with
sequel-2.x - never, ever,
2006 Dec 31
0
[816] trunk/wxruby2: Added AcceleratorTable and AcceleratorTable classes, plus documentation
...n><del>- AcceleratorEntry entries[4];
- entries[0].Set(ACCEL_CTRL, (int) ''N'', ID_NEW_WINDOW);
- entries[1].Set(ACCEL_CTRL, (int) ''X'', ID_EXIT);
- entries[2].Set(ACCEL_SHIFT, (int) ''A'', ID_ABOUT);
- entries[3].Set(ACCEL_NORMAL, WXK_DELETE, ID_CUT);
- AcceleratorTable accel(4, entries);
- frame->SetAcceleratorTable(accel);
</del><ins>+ entries = [ Wx::AcceleratorEntry.new(Wx::ACCEL_CTRL, ''N''[0],
+ ID_NEW_WINDOW),
+ Wx::Accelerato...