Displaying 15 results from an estimated 15 matches for "windowdestroyevent".
2007 Jul 21
0
[1132] trunk/wxruby2/doc/textile/windowdestroyevent.txtl: Updated and corrected doc on WindowDestroyEvent, noting that e.skip must
...#ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1132] trunk/wxruby2/doc/textile/windowdestroyevent.txtl: Updated and corrected doc on WindowDestroyEvent, noting that e.skip must</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1132</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt...
2006 Nov 07
0
[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)
...x 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>723</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-11-07 16:47:19 -0500 (Tue, 07 Nov 2006...
2006 Nov 03
0
WindowCreateEvent & WindowDestroyEvent
In the process of working out what was not working with destructors I
added WindowCreateEvent and WindowDestroyEvent to see if it would help.
It didn''t, but they are still useful classes so here''s a patch to
implement them. And tick more boxes on our ''implemented classes'' list.
alex
-------------- next part --------------
An embedded and charset-unspecified text was scrubb...
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...by GC - this only
-// unlinks the C++ object from the ruby VALUE but doesn''t delete
-// it because it is still needed and will be managed by WxWidgets.
-void GcNullFreeFunc(void *ptr)
-{
- SWIG_RubyRemoveTracking(ptr);
-}
-
-// Tests if the window has been signalled as destroyed by a
-// WindowDestroyEvent handled by wxRubyApp
-bool GC_IsWindowDeleted(void *ptr)
-{
- // If objects have been ''unlinked'' then DATA_PTR = 0
- if ( ! ptr ) return true;
- VALUE rb_win = SWIG_RubyInstanceFor(ptr);
- if ( rb_ivar_defined(rb_win, wx_destroyed_sym ) )
-    &...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...by GC - this only
+// unlinks the C++ object from the ruby VALUE but doesn''t delete
+// it because it is still needed and will be managed by WxWidgets.
+void GcNullFreeFunc(void *ptr)
+{
+ SWIG_RubyRemoveTracking(ptr);
+}
+
+// Tests if the window has been signalled as destroyed by a
+// WindowDestroyEvent handled by wxRubyApp
+bool GC_IsWindowDeleted(void *ptr)
+{
+ VALUE rb_win = SWIG_RubyInstanceFor(ptr);
+ if ( rb_ivar_defined(rb_win, wx_destroyed_sym ) )
+        return true;
+ else
+     &...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...ass="cx">
</span><span class="cx"> // Pre-fetched id because it''s called very frequently in wxRubyApp::FilterEvent
</span><span class="lines">@@ -62,11 +63,7 @@
</span><span class="cx"> void OnWindowDestroy(wxWindowDestroyEvent &event)
</span><span class="cx"> {
</span><span class="cx">         wxObject* wx_obj = event.GetEventObject();
</span><del>-     &am...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...t.o obj/TextValidator.o obj/Timer.o obj/TimerEvent.o obj/TipProvider.o obj/TipWindow.o obj/ToggleButton.o obj/ToolBar.o obj/ToolBarToolBase.o obj/ToolTip.o obj/TopLevelWindow.o obj/TreeCtrl.o obj/TreeEvent.o obj/UpdateUIEvent.o obj/Validator.o obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o obj/Functions.o obj/Mac.o obj/wx.o -pthread -Wl,-Bsymbolic-functions -lwx_gtk2u_stc-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui...
2006 Nov 12
0
[728] trunk/wxruby2/Changelog: HTML classes, Window[ChangeDestroy]Event, sample fix, client_data
...p   2006-11-12 23:19:08 UTC (rev 728)
</span><span class="lines">@@ -1,3 +1,8 @@
</span><ins>+- Fix crash in etc/sash.rb sample (Alex Fenton)
+- Added HtmlWindow, HtmlCell, HtmlEasyPrinting &c (Alex Fenton)
+- Added WindowCreateEvent and WindowDestroyEvent (Alex Fenton)
+- Fix for Choice#get_client_data and set_client_data, inc mem mgmt (Alex Fenton)
+
</ins><span class="cx"> === 0.0.37 tag on 2006-10-24 included all of this: ===
</span><span class="cx"> - Fixed rake install task for non-gem build, added ra...
2006 Nov 13
0
[733] trunk/wxruby2: Updated with changes made to samples.
...s (Sean Long)
</ins><span class="cx"> - Fix crash in etc/sash.rb sample (Alex Fenton)
</span><span class="cx"> - Added HtmlWindow, HtmlCell, HtmlEasyPrinting &c (Alex Fenton)
</span><span class="cx"> - Added WindowCreateEvent and WindowDestroyEvent (Alex Fenton)
</span></span></pre></div>
<a id="trunkwxruby2swigRubyConstantsi"></a>
<div class="modfile"><h4>Modified: trunk/wxruby2/swig/RubyConstants.i (732 => 733)</h4>
<pre class="diff"><span>
&l...
2007 Jul 22
0
[1140] trunk/wxruby2/swig/mark_free_impl.i: Remove instance variable marking of deleted Wx Windows because it''s redundant
...span><span class="cx"> else
</span><span class="cx">         return false;
</span><span class="lines">@@ -35,13 +31,8 @@
</span><span class="cx"> // WindowDestroyEvent handled by wxRubyApp
</span><span class="cx"> void GC_SetWindowDeleted(void *ptr)
</span><span class="cx"> {
</span><del>- VALUE rb_win = SWIG_RubyInstanceFor(ptr);
- if ( rb_win != Qnil )
-     &n...
2007 Jul 21
0
[1134] trunk/wxruby2/swig/mark_free_impl.i: When window is deleted, unhook ruby obj from DATA_PTR to avoid MSW crashes
...sp2007-07-21 15:50:04 UTC (rev 1133)
+++ trunk/wxruby2/swig/mark_free_impl.i        2007-07-21 15:51:00 UTC (rev 1134)
</span><span class="lines">@@ -22,6 +22,8 @@
</span><span class="cx"> // WindowDestroyEvent handled by wxRubyApp
</span><span class="cx"> bool GC_IsWindowDeleted(void *ptr)
</span><span class="cx"> {
</span><ins>+ // If objects have been ''unlinked'' then DATA_PTR = 0
+ if ( ! ptr ) return true;
</ins><span...
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
...bj/ToolBar.o obj/ToolBarToolBase.o
obj/ToolTip.o obj/Toolbook.o obj/ToolbookEvent.o obj/TopLevelWindow.o
obj/TreeCtrl.o obj/TreeEvent.o obj/Treebook.o obj/TreebookEvent.o
obj/UpdateUIEvent.o obj/VListBox.o obj/VScrolledWindow.o obj/Validator.o
obj/Window.o obj/WindowCreateEvent.o obj/WindowDC.o
obj/WindowDestroyEvent.o obj/WindowDisabler.o obj/Wizard.o
obj/WizardEvent.o obj/WizardPage.o obj/WizardPageSimple.o
obj/XmlResource.o obj/RubyConstants.o obj/RubyStockObjects.o
obj/Functions.o obj/Mac.o obj/wx.o -pthread -Wl,-Bsymbolic-functions
-lwx_gtk2u_stc-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_media-2.8
-lwx_gtk2u_richte...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...- Wx::EVT_SCROLLWIN_THUMBTRACK => Wx::ScrollWinEvent,
- Wx::EVT_SCROLLWIN_THUMBRELEASE => Wx::ScrollWinEvent,
- Wx::EVT_ACTIVATE => Wx::ActivateEvent,
- Wx::EVT_ACTIVATE_APP => Wx::ActivateEvent,
- Wx::EVT_CREATE => Wx::WindowCreateEvent,
- Wx::EVT_DESTROY => Wx::WindowDestroyEvent,
- Wx::EVT_MENU_OPEN => Wx::MenuEvent,
- Wx::EVT_MENU_CLOSE => Wx::MenuEvent,
- Wx::EVT_MENU_HIGHLIGHT => Wx::MenuEvent,
- Wx::EVT_CONTEXT_MENU => Wx::ContextMenuEvent,
- Wx::EVT_AUI_PANE_BUTTON => Wx::AuiManagerEvent,
- Wx::EVT_AUI_PANE_CLOSE => Wx::AuiManagerEv...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...+ Wx::EVT_SCROLLWIN_THUMBTRACK => Wx::ScrollWinEvent,
+ Wx::EVT_SCROLLWIN_THUMBRELEASE => Wx::ScrollWinEvent,
+ Wx::EVT_ACTIVATE => Wx::ActivateEvent,
+ Wx::EVT_ACTIVATE_APP => Wx::ActivateEvent,
+ Wx::EVT_CREATE => Wx::WindowCreateEvent,
+ Wx::EVT_DESTROY => Wx::WindowDestroyEvent,
+ Wx::EVT_MENU_OPEN => Wx::MenuEvent,
+ Wx::EVT_MENU_CLOSE => Wx::MenuEvent,
+ Wx::EVT_MENU_HIGHLIGHT => Wx::MenuEvent,
+ Wx::EVT_CONTEXT_MENU => Wx::ContextMenuEvent,
+ Wx::EVT_AUI_PANE_BUTTON => Wx::AuiManagerEvent,
+ Wx::EVT_AUI_PANE_CLOSE => Wx::AuiManagerEv...
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/