Displaying 8 results from an estimated 8 matches for "wxevt_char".
Did you mean:
evt_char
2010 Mar 20
1
Tab key traversal
...What
corrections do I have to make? Thanks.
#!/usr/bin/env ruby
require ''rubygems''
require ''wx''
require ''tp1.rb''
class MainFrame < TPSC
def on_init
m_scrolledwindow6.set_virtual_size(400, 100)
m_scrolledwindow6.set_scroll_rate(5, 5)
wxEVT_CHAR(@m_textCtrl2) { m_textCtrl3.set_focus }
wxEVT_CHAR(@m_textCtrl3) { m_textCtrl4.set_focus }
wxEVT_CHAR(@m_textCtrl4) { m_textCtrl4.set_focus }
# evt_button(@m_buttonincrement) { increaseColour }
# evt_button(@m_buttondecrement) { decreaseColour }
end
Wx::App.run do
self.app_name = ''...
2007 Apr 29
0
[982] branches/wxruby2/wxwidgets_282/swig/classes/EvtHandler.i: Add EvtThunker mapping for TimerEvent (bug 10391)
...gt;+static const wxEventType *timerEvents[] =
+{
+ &wxEVT_TIMER,
+ (const wxEventType *)0
+};
+
</ins><span class="cx"> static const wxEventType *keyEvents [] =
</span><span class="cx"> {
</span><span class="cx"> &wxEVT_CHAR,
</span><span class="lines">@@ -430,6 +437,8 @@
</span><span class="cx"> cEvent = cWxIdleEvent.klass;
</span><span class="cx"> else if(event.IsKindOf(CLASSINFO(wxPaintEvent)))
</span><span class="cx&...
2007 May 31
0
[1037] trunk/wxruby2/swig/RubyEventTypes.i: RubyEventTypes is no longer needed - moved to Events.i
...- %constant const int wxEVT_NC_ENTER_WINDOW;// 207)
- %constant const int wxEVT_NC_LEAVE_WINDOW;// 208)
- %constant const int wxEVT_NC_LEFT_DCLICK;// 209)
- %constant const int wxEVT_NC_MIDDLE_DCLICK;// 210)
- %constant const int wxEVT_NC_RIGHT_DCLICK;// 211)
- %constant const int wxEVT_CHAR;// 212)
- %constant const int wxEVT_CHAR_HOOK;// 213)
- %constant const int wxEVT_NAVIGATION_KEY;// 214)
- %constant const int wxEVT_KEY_DOWN;// 215)
- %constant const int wxEVT_KEY_UP;// 216)
- %constant const int wxEVT_SET_CURSOR;// 230)
- %constant const int wxEVT_SCROLL_TOP;//...
2007 Jun 25
0
[1066] trunk/wxruby2/swig: Move EVT constants in swig/classes/Event.i; add a few missing ones
...wxEVT_NC_MOTION;// 206)
-%constant const int wxEVT_NC_ENTER_WINDOW;// 207)
-%constant const int wxEVT_NC_LEAVE_WINDOW;// 208)
-%constant const int wxEVT_NC_LEFT_DCLICK;// 209)
-%constant const int wxEVT_NC_MIDDLE_DCLICK;// 210)
-%constant const int wxEVT_NC_RIGHT_DCLICK;// 211)
-%constant const int wxEVT_CHAR;// 212)
-%constant const int wxEVT_CHAR_HOOK;// 213)
-%constant const int wxEVT_NAVIGATION_KEY;// 214)
-%constant const int wxEVT_KEY_DOWN;// 215)
-%constant const int wxEVT_KEY_UP;// 216)
-%constant const int wxEVT_SET_CURSOR;// 230)
-%constant const int wxEVT_SCROLL_TOP;// 300)
-%constant const i...
2007 May 31
0
[1036] trunk/wxruby2: Merge RubyEventTypes into Events.i, add missing EVT_ constants for
...wxEVT_NC_MOTION;// 206)
+%constant const int wxEVT_NC_ENTER_WINDOW;// 207)
+%constant const int wxEVT_NC_LEAVE_WINDOW;// 208)
+%constant const int wxEVT_NC_LEFT_DCLICK;// 209)
+%constant const int wxEVT_NC_MIDDLE_DCLICK;// 210)
+%constant const int wxEVT_NC_RIGHT_DCLICK;// 211)
+%constant const int wxEVT_CHAR;// 212)
+%constant const int wxEVT_CHAR_HOOK;// 213)
+%constant const int wxEVT_NAVIGATION_KEY;// 214)
+%constant const int wxEVT_KEY_DOWN;// 215)
+%constant const int wxEVT_KEY_UP;// 216)
+%constant const int wxEVT_SET_CURSOR;// 230)
+%constant const int wxEVT_SCROLL_TOP;// 300)
+%constant const i...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...UI,
- (const wxEventType *)0
-};
-
-static const wxEventType *sizeEvents[] =
-{
- &wxEVT_SIZE,
- (const wxEventType *)0
-};
-
-static const wxEventType *timerEvents[] =
-{
- &wxEVT_TIMER,
- (const wxEventType *)0
-};
-
-static const wxEventType *keyEvents [] =
-{
- &wxEVT_CHAR,
- &wxEVT_CHAR_HOOK,
- &wxEVT_KEY_DOWN,
- &wxEVT_KEY_UP,
- (const wxEventType *)0
-};
-
-static const wxEventType *findEvents [] =
-{
- &wxEVT_COMMAND_FIND,
- &wxEVT_COMMAND_FIND_NEXT,
- &wxEVT_COMMAND_FIND_REPLACE,
- &wxEVT_COMMAND_FIND_REPLACE_...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...argc, argv, self, wxEVT_KEY_DOWN);
-}
-
-static VALUE evt_key_up(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_KEY_UP);
-}
-
-static VALUE evt_char(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_CHAR);
-}
-
-static VALUE evt_find(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_FIND);
-}
-
-static VALUE evt_find_next(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_FIND_NEXT);
-}
-
-sta...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK"],
-["EVT_CONTEXT_MENU", 1, "wxEVT_CONTEXT_MENU"],
-["EVT_LIST_COL_RIGHT_CLICK", 2, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK"],
-["EVT_JOY_ZMOVE", 1, "wxEVT_JOY_ZMOVE"],
-["EVT_CHAR", 1, "wxEVT_CHAR"],
-["EVT_GRID_CELL_LEFT_DCLICK", 1, "wxEVT_GRID_CELL_LEFT_DCLICK"],
-["EVT_GRID_CMD_CELL_LEFT_DCLICK", 2, "wxEVT_GRID_CELL_LEFT_DCLICK"],
-["EVT_TREE_GET_INFO", 2, "wxEVT_COMMAND_TREE_GET_INFO"],
-["EVT_TASKBAR_RIGHT_UP", 1...