search for: evt_left_dclick

Displaying 7 results from an estimated 7 matches for "evt_left_dclick".

2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
..._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, - Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, - Wx::EVT_RIGHT_UP => Wx::MouseEvent, - Wx::EVT_RIGHT_DCLICK => Wx::MouseEvent...
2010 Sep 09
1
Wx::Grid and motion events, bug?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, Doesn''t a Wx::Grid get motion events sent? This code demonstrates the problem: - -------------------------------------------------------------- #!/usr/bin/env ruby #Encoding: UTF-8 require "wx" class MyFrame < Wx::Frame include Wx def initialize(parent = nil) super(parent, title: "Test", size:
2007 Jun 26
0
[1086] trunk/wxruby2/lib/wx/classes/evthandler.rb: Restore evt_mouse_events convenience handler, fixing bug in printing sample
...ce evt_handler to listen to all mouse events + def evt_mouse_events(&block) + evt_left_down(&block) + evt_left_up(&block) + evt_middle_down(&block) + evt_middle_up(&block) + evt_right_down(&block) + evt_right_up(&block) + evt_motion(&block) + evt_left_dclick(&block) + evt_middle_dclick(&block) + evt_right_dclick(&block) + evt_leave_window(&block) + evt_enter_window(&block) + evt_mousewheel(&block) + end </ins><span class="cx"> </span><span class="cx"> # TODO </span&...
2007 Mar 17
0
[886] branches/wxruby2/wxwidgets_282/swig/fixevents.rb: Mouse events fix for Win32 (Artur Kuptel)
..._events(int argc, VALUE *argv, VALUE self) +{ + evt_left_down(argc,argv,self); + evt_left_up(argc,argv,self); + evt_middle_down(argc,argv,self); + evt_middle_up(argc,argv,self); + evt_right_down(argc,argv,self); + evt_right_up(argc,argv,self); + evt_motion(argc,argv,self); + evt_left_dclick(argc,argv,self); + evt_middle_dclick(argc,argv,self); + evt_right_dclick(argc,argv,self); + evt_leave_window(argc,argv,self); + evt_enter_window(argc,argv,self); + return evt_mousewheel(argc,argv,self); +} +FUNC_DEF </ins><span class="cx"> </span><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
...tic VALUE evt_left_down(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_LEFT_DOWN); -} - -static VALUE evt_left_up(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_LEFT_UP); -} - -static VALUE evt_left_dclick(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_LEFT_DCLICK); -} - -static VALUE evt_right_down(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_RIGHT_DOWN); -} - -static VALUE evt_right_up(in...
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the TextCtrl field that is created when you start typing in a cell. Also is there a way to get mouse events to work with a wxGrid, so far I can''t get any of them to work. I had tried various combo''s of: @grid.evt_left_down(){ |event| puts "Left mouse is down"; } using evt_left_down, evt_left_up,
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
..._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, + Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, + Wx::EVT_RIGHT_UP => Wx::MouseEvent, + Wx::EVT_RIGHT_DCLICK => Wx::MouseEvent...