Displaying 15 results from an estimated 15 matches for "key_down".
2007 Apr 14
1
how to simulate key_down event(when event.get_key_code()==Wx::K_DOWN) in ListCtrl or TreeCtrl?
...ations in ListCtrl or TreeCtrl,
that is, for example, when user pressed a ''j'' on keyboard,the selected
item change into the next one item, just like user press a
Wx::K_DOWN(arrow key down on keyboard) .
but not jump to some item started with a "J" charater.
evt_tree_key_down(TreeTest_Ctrl) { | e | on_tree_key_down(e) }
...
def on_tree_key_down(event)
keycode = event.get_key_code()
case keycode
when 74 # ''j'' ''s keycode
#what should I write here? ...............
end
end
that''s the basic, when I know how to w...
2006 Oct 26
8
doubt in Selenium test
Hi guys,
I am just started to do selenium test in rails. can u guys plz tell me
how to write selenium test for the below code. for ex: i want to use
click action in selenium test for the below code
<a href="#" onClick="javascript:show_form(''short'');">Add a Short Media
Buy</a>
advance thx
regards,
Karthick.
--
Posted via
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...n python-xlib xdotool
# AUTHOR : terry.cadd at gmail.com
# DATE : Thu Apr 7 22:28:38 BST 2011
# VERSION : 1
#
# USAGE :
# start this script then play the game
# numpad moves mouse , 4 left , 6 right , 8 up , 2 down , 5 clicks mouse
# numpad enter exits script
#
# values for key_up , key_left , key_down , key_right were found from
# xev utility . (the keycode value.)
#
# BEHAVIOUR :
# mouse cursor will flicker because there are now two things controlling the mouse
# this script and usual x windows mouse
#
# FEEDBACK : welcome !
#
# AIMS : wonder if this get put into winetricks package ?!?
#
f...
2010 Oct 02
4
[PATCH 0/4] some fixes on elflink branch
This is a small set of patches for elflink branch based on
feng's elflink branch.
hpa, It seems that I can't log on terminus by ssh at home. So I can't push these
patches on my git tree.
Liu Aleaxander (4):
elflink: Cleanup some warnings
elflink: Fix the wrong malloc size in enter_cmdline
elflink: Do clear screen even if we have no pDraw_Menu method
elflink: Add Ctrl-p +
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the
events for each of the widgets. Any info on this would be greatly
appreciated.
--
Posted via http://www.ruby-forum.com/.
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2007 Apr 13
2
who can give me an EvtHandler#connect example?
I read the api document online: http://wxruby.rubyforge.org/doc/evthandler.html
but still don''t know how to use it.
EvtHandler#connect
connect(Integer id, Integer lastId, EventType eventType,
ObjectEventFunction function,
Object userData = nil,
EvtHandler eventSink = nil)
the online doc''s example is write in C++:
frame->Connect( ID_EXIT,
2006 Jun 03
4
xentop.c error
Just downloaded the xen-unstable and updated it using mercurial.
When i try to do a make install on a Celeron D 64bit processor, i get the
following error:
xentop.c:291: error: `KEY_DOWN'' undeclared (first use in this function)
xentop.c:294: error: `KEY_UP'' undeclared (first use in this function)
xentop.c:314: error: `KEY_BACKSPACE'' undeclared (first use in this function)
xentop.c: In function `compare_net_tx'':
xentop.c:527: error: `FALSE'...
2005 Aug 09
2
Load Testing
Guys.
How and which tools to use to load test an asterisk install? Say for
example, you need to see how many calls can be routed thru before losing
quality and making the cpu jump to the roof?
2012 Sep 05
4
Final line of menu selectable even if it is disabled
I have a menu conf as follows:
LABEL enabled, use as item
LABEL disabled, use as description
SEPARATOR
LABEL enabled, use as item
LABEL disabled, use as description
In this situation, I expect the cursors to be able to select from only the two enabled lines.
However, the final disabled line is also selectable.
Even if I put a final separator and/or disabled label the final line of the menu
2011 Mar 16
0
[GIT PULL] elflink changes
...width */ ,
redraw = 1;
}
break;
+ case KEY_CTRL('P'):
case KEY_UP:
{
if (!list_empty(&cli_history_head)) {
@@ -302,6 +360,7 @@ const char *edit_cmdline(const char *input, int top /*, int width */ ,
}
}
break;
+ case KEY_CTRL('N'):
case KEY_DOWN:
{
if (!list_empty(&cli_history_head)) {
@@ -318,6 +377,24 @@ const char *edit_cmdline(const char *input, int top /*, int width */ ,
}
}
break;
+ case KEY_CTRL('R'):
+ {
+ /*
+ * Handle this case in another function, since it's
+...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
Here are the patches that I've got queued up based on the very helpful
feedback I received from people testing Syslinux 5.00-pre9. Unless
anyone has any concerns these will make it into Syslinux 5.00-pre10.
Matt Fleming (9):
pxe: Don't call open_config() from the pxe core
ldlinux: Print a warning if no config file is found
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and