search for: evt_kill_focus

Displaying 10 results from an estimated 10 matches for "evt_kill_focus".

2008 Sep 12
0
evt_kill_focus
Something''s wacky with evt_kill_focus. It wasn''t firing at all for me. It disallows passing a Wx id, and supposedly is a catch-all, but it was never firing. Latest WxRuby. I had to do this to fix it. No idea why this works or what''s going on, just putting it out there: class MyListCtrl < Wx::ListCtrl def initiali...
2008 Jan 19
10
lose focus event?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I''m new to wxruby, and I haven''t found any answer with google: Is there a way to capture a lose focus event on controls, such as a combo box? All my experiments show events when changing the text, but not when leaving the box. I want to make a combobox that autocompletes if I press tab (or down arrow or something), but if I
2006 Aug 25
3
Patch to wxComboBox.rbw
This patch fixes the sample so it works correctly. You''ll need to patches in the previous e-mail. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2009 Feb 18
3
Validation and ComboBox
I''m trying to make a ComboBox that can be typed into but only accepts entries that are already in the drop-down list. I hoped a combination of the CB_DROPDOWN style and a TextValidator with the FILTER_INCLUDE_LIST would make that happen, but the validator seems to be ignored. Is that combination supposed to do what I want? If so, please review the code below and let me know where my
2007 Apr 29
0
[995] branches/wxruby2/wxwidgets_282/swig/classes/include/events.rb: Fix argument signature for window_create/destroy events; use wxWidgets
...sp&nbsp&nbsp&nbsp2007-04-29 16:54:31 UTC (rev 995) </span><span class="lines">@@ -217,8 +217,8 @@ </span><span class="cx"> ["EVT_TASKBAR_MOVE", 1, "wxEVT_TASKBAR_MOVE"], </span><span class="cx"> ["EVT_KILL_FOCUS", 1, "wxEVT_KILL_FOCUS"], </span><span class="cx"> ["EVT_TIMER", 2, "wxEVT_TIMER"], </span><del>-["EVT_CREATE", 2, "wxEVT_CREATE"], -["EVT_DESTROY", 2, "wxEVT_DESTROY"], </del><ins&...
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
...-static VALUE evt_paint(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_PAINT); -} - -static VALUE evt_set_focus(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_SET_FOCUS); -} - -static VALUE evt_kill_focus(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_KILL_FOCUS); -} - -static VALUE evt_close(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_CLOSE_WINDOW); -} - -static VALUE evt_idle(int argc,...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...t, - Wx::EVT_COMMAND_FIND_NEXT => Wx::FindDialogEvent, - Wx::EVT_COMMAND_FIND_REPLACE => Wx::FindDialogEvent, - Wx::EVT_COMMAND_FIND_REPLACE_ALL => Wx::FindDialogEvent, - Wx::EVT_COMMAND_FIND_CLOSE => Wx::FindDialogEvent, - Wx::EVT_SET_FOCUS => Wx::FocusEvent, - Wx::EVT_KILL_FOCUS => Wx::FocusEvent, - Wx::EVT_LEFT_DOWN => Wx::MouseEvent, - Wx::EVT_LEFT_UP => Wx::MouseEvent, - Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, - Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, - Wx::EVT_MIDDLE_UP => Wx::MouseEvent, - Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, -...
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
...obox(event)} + evt_text(cb.get_id) {|event| on_evt_text(event)} + evt_text_enter(cb.get_id) {|event| on_evt_text_enter(event)} </ins><span class="cx"> cb.evt_set_focus {|event| on_set_focus(event)} </span><span class="cx"> cb.evt_kill_focus {|event| on_kill_focus(event)} </span><span class="cx"> </span><span class="lines">@@ -36,25 +36,27 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx...
2006 Nov 07
0
[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)
...sp&nbsp&nbsp&nbsp2006-11-07 21:47:19 UTC (rev 723) </span><span class="lines">@@ -207,6 +207,8 @@ </span><span class="cx"> ["EVT_TASKBAR_MOVE", 1, "wxEVT_TASKBAR_MOVE"], </span><span class="cx"> ["EVT_KILL_FOCUS", 1, "wxEVT_KILL_FOCUS"], </span><span class="cx"> ["EVT_TIMER", 2, "wxEVT_TIMER"], </span><ins>+["EVT_CREATE", 2, "wxEVT_CREATE"], +["EVT_DESTROY", 2, "wxEVT_DESTROY"], </ins><span...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...t, + Wx::EVT_COMMAND_FIND_NEXT => Wx::FindDialogEvent, + Wx::EVT_COMMAND_FIND_REPLACE => Wx::FindDialogEvent, + Wx::EVT_COMMAND_FIND_REPLACE_ALL => Wx::FindDialogEvent, + Wx::EVT_COMMAND_FIND_CLOSE => Wx::FindDialogEvent, + Wx::EVT_SET_FOCUS => Wx::FocusEvent, + Wx::EVT_KILL_FOCUS => Wx::FocusEvent, + Wx::EVT_LEFT_DOWN => Wx::MouseEvent, + Wx::EVT_LEFT_UP => Wx::MouseEvent, + Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, + Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, + Wx::EVT_MIDDLE_UP => Wx::MouseEvent, + Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, +...