search for: evt_set_focus

Displaying 9 results from an estimated 9 matches for "evt_set_focus".

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
2007 Jun 28
0
[1091] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add interim event type mappings for a few obscure oddities
...OLL_TOP, </span><span class="cx"> Wx::ScrollEvent], </span><ins>+ EventType[''evt_set_cursor'', 0, + Wx::EVT_SET_CURSOR, + Wx::Event], </ins><span class="cx"> EventType[''evt_set_focus'', 0, </span><span class="cx"> Wx::EVT_SET_FOCUS, </span><span class="cx"> Wx::FocusEvent], </span><span class="cx"> EventType[''evt_size'', 0, </span><span class=&quo...
2007 Jun 28
0
[1094] trunk/wxruby2: Added SetCursorEvent and mapping
...#39;'evt_set_cursor'', 0, </span><span class="cx"> Wx::EVT_SET_CURSOR, </span><del>- Wx::Event], </del><ins>+ Wx::SetCursorEvent], </ins><span class="cx"> EventType[''evt_set_focus'', 0, </span><span class="cx"> Wx::EVT_SET_FOCUS, </span><span class="cx"> Wx::FocusEvent], </span></span></pre></div> <a id="trunkwxruby2swigclassesSetCursorEventi"></a> &...
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_update_ui(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_UPDATE_UI); -} - -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 arg...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...Wx::EVT_COMMAND_FIND => Wx::FindDialogEvent, - 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, -...
2008 Mar 07
9
copy & paste event
hi. now I have problem about copy and paste text in my application I make copy and paste button in toolbar and I have fuction of them but I don''t know how to make it can copy only selection text and paste into other textCtrl. see my picture for more info. thank you :) Attachments: http://www.ruby-forum.com/attachment/1526/untitled.JPG -- Posted via http://www.ruby-forum.com/.
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
...nt| on_evt_text_enter(event)} </del><ins>+ evt_combobox(cb.get_id) {|event| on_combobox(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&quo...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...Wx::EVT_COMMAND_FIND => Wx::FindDialogEvent, + 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, +...