Displaying 3 results from an estimated 3 matches for "func_def".
Did you mean:
func_db
2007 Jun 23
0
[1060] trunk/wxruby2/swig/fixevents.rb: Include some previously missing events, rehash and simplify
...sp               
-                out.puts <<FUNC_DEF
</del><ins>+# Convert the raw arrays into informative event type objects
+$events.map! { | x | WxEventType[ *x ] }
+
+# Append this stuff to the default SWIG Events.i file
+File.open(ARGV[0], "a") do | out |
+ # First we loop over the events creating short C++ functions to ho...
2007 Mar 17
0
[886] branches/wxruby2/wxwidgets_282/swig/fixevents.rb: Mouse events fix for Win32 (Artur Kuptel)
...sp               
+                out.puts <<FUNC_DEF
+static VALUE evt_mouse_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_motio...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...he default SWIG Events.i file
-File.open(ARGV[0], "a") do | out |
- # First we loop over the events creating short C++ functions to hook
- # up events for each
- $events.each do | evt |
- next if evt.excluded?
-
- if evt.name =="EVT_MOUSE_EVENTS"
- out.puts <<FUNC_DEF
-static VALUE evt_mouse_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_motio...