search for: get_event_typ

Displaying 6 results from an estimated 6 matches for "get_event_typ".

Did you mean: get_event_type
2005 Aug 12
2
Event.i patch
This patch to event.i (if it worked correctly!) would fix the problem of event types being returned a fox objects instead of a fixnum matching the constants expected. This patch has the same problem as the previous one in that you must manually move the ''get_event_type'' declaration down to where it belongs once the .cpp files is produced. If someone has pointers on how to fix this I won''t have to submit broken patches. :) I don''t see a lot of examples of what I''m trying to do. So, I have to wonder if I''m just do...
2006 Aug 03
1
[ win32utils-Bugs-5285 ] event_type is not recognized properly
...func=detail&atid=411&aid=5285&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: event_type is not recognized properly Initial Comment: Ver:0.4.1 Line 469 event_type = get_event_type(buf[24,2].unpack(''S'').first) Should be placed into "while dwread > 0" loop. by TheR ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5285&gro...
2007 Mar 30
0
[932] branches/wxruby2/wxwidgets_282/doc/textile/event.txtl: 2.8 updates and corrections to Event doc
...pan class="cx"> Returns the object (usually a window) associated with the </span><span class="cx"> event, if any. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#Event_geteventtype). Event#get_event_type </span><span class="cx"> </span><del>- TYPE *get_event_type*() </del><ins>+ Integer *get_event_type*() </ins><span class="cx"> </span><del>-Returns the identifier of the given event type, -such as EVENT_TYPE_BUTTON_C...
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Berger, Daniel > Sent: Wednesday, May 17, 2006 12:07 PM > To: Development and ideas for win32utils projects > Subject: Re: [Win32utils-devel] Need a little help with the > pureRubywin32-eventlog > > > >
2006 Dec 18
13
unit testing wxruby GUIs
...d_pending_event. A snippet that works for me (OS X, 0.0.38) f = Wx::Frame.new(nil, -1, ''test_app'') b = Wx::Button.new(f, -1, ''click'') evt_button(b.get_id) { | e | Kernel.raise ''I was clicked'' } # I got this 10003 id by calling get_event_type on a real button event test_event = Wx::CommandEvent.new(10003, b.get_id) # simulated event processsing - call the event handler above process_event(test_event) I would be interested in developing a neater API to this. The event type constants (eg 10003 for EVT_TYPE_BUTTON) may be ex...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...t;span class="cx"> end </span><span class="cx"> </span><del>- def onFindDialog(event) </del><ins>+ def on_find_dialog(event) </ins><span class="cx"> </span><span class="cx"> type = event.get_event_type() </span><span class="cx"> </span><span class="lines">@@ -626,33 +625,33 @@ </span><span class="cx"> log_message("Find %s''%s'' (flags: %s)", </span><span class="cx">...