Displaying 20 results from an estimated 400 matches similar to: "who can give me an EvtHandler#connect example?"
2006 Jul 25
6
Wizards
Hi
Please find attached a set of patches and swig files to implement
Wizards for wxruby. Also a brief sample.
Quick q - the C declarations of evt_xxx_xxx methods and their attaching
to Ruby classes seems to be duplicated across Events.i and EvtHandler.i
- is one of these the right place to be adding them? or both?
Thanks
alex
_______________________________________________
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2007 Jun 23
0
[1061] trunk/wxruby2/swig/classes/EvtHandler.i: Remove a lot of no longer needed includes from EvtHandler.i
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1075] trunk/wxruby2/lib/wx/classes/evthandler.rb: Send IconizeEvent to EvtHandlers
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 27
0
[ wxruby-Bugs-12610 ] Possible crash with EvtHandler.add_pending_evemt and custom event class
Bugs item #12610, was opened at 2007-07-27 00:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=12610&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Possible crash with EvtHandler.add_pending_evemt and custom event
2007 Jun 28
0
[1096] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add mapping for another obscure and undocumented event type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1086] trunk/wxruby2/lib/wx/classes/evthandler.rb: Restore evt_mouse_events convenience handler, fixing bug in printing sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 25
0
[1068] trunk/wxruby2/lib/wx.rb: Ensure evthandler.rb is loaded before other classes which might modify
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2004 Aug 14
0
Support for EvtHandler#connect
While working on wxruby-swig today, I added support for
EvtHandler#connect. This allows you to hook any event type and id range
to a method. Theoretically, this would allow you to work with event
types that are not yet supported by the wxruby(-swig) framework.
However, the event that gets passed to the ruby event handler may not be
very helpful. It can only be an event class that wxRuby
2007 Apr 29
0
[982] branches/wxruby2/wxwidgets_282/swig/classes/EvtHandler.i: Add EvtThunker mapping for TimerEvent (bug 10391)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 28
0
[1091] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add interim event type mappings for a few obscure oddities
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 23
0
[1063] trunk/wxruby2/swig/classes/EvtHandler.i: Add a public ''connect'' method for handling arbitary user-defined events
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Aug 02
3
wxSocket..... or wxRubySocket....
Hey Alex,
I was looking into figuring out a way to create a truely Asynchronis
Socket type for Ruby, and thought I''d go down to the bare minimal
implementation of it, to start creating a socket, and then I got to
thinking. Looking at the wxWidgets C/C++ Code, it doesn''t do much
different then what I''m doing, only in Ruby, so I thought maybe, as a way
to avoid
2005 Aug 31
5
Re: event handlers for wxGrid
I got a warning from the list about the attachments being too big so I
am not sure if the original went through. So here is a zip of the
files.
Sean
On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote:
> I added all the event handlers for wxGrid. These patches also have
> changes from my previous patches that have not been commited yet
> (choicebook). wxGrid is actually getting
2007 Jul 29
5
wxruby2 beta 1.9.0 released
Hi
I''m pleased to announce the release of wxruby2 version 1.9.0. This is a
significant milestone for wxruby as this is the first release that we
consider near to production quality. We hope that this 1.9.x series of
releases will soon lead to a stable wxruby 2.0.
= INSTALLATION
The easiest way to install is using a ready-to-use binary gem for your
platform:
gem install wxruby
Or
2006 Aug 21
2
Patch to Calendar sample
This patch cleans up the calendar sample to follow the Ruby coding
style. It also uses ID_ABOUT and ID_EXIT for the About and Quit menu
item ID''s these allow wxWidgets to put the About and Quit menu in the
correct location on Mac OS X. We should probably do this with all the
samples.
Sean
_______________________________________________
wxruby-users mailing list
2006 Jul 24
6
MiniFrame.i
Hi
Another little patch, adding MiniFrame (a frame with small title bar and
buttons which doesn''t appear in the desktop taskbar).
Also a sample - not very interesting, happy to roll this into something
else if that''s better.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: