search for: wxobject

Displaying 20 results from an estimated 92 matches for "wxobject".

2007 Jun 28
0
[1095] trunk/wxruby2: Remove useless methods from Wx::Object and add wx_class method for info; document
...007-06-28 08:35:04 UTC (rev 1094) +++ trunk/wxruby2/doc/textile/object.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-06-28 18:42:03 UTC (rev 1095) </span><span class="lines">@@ -1,39 +1,17 @@ </span><span class="cx"> h1(#wxobject). Wx::Object </span><span class="cx"> </span><del>-This is the root class of all Widgets classes. -It declares a virtual destructor which ensures that -destructors get called for all derived class objects where necessary. </del><ins>+This is the base c...
2007 Jan 25
0
[854] trunk/wxruby2/swig/classes: Add support for GridBagSizer
...ot;) wxGridBagSizer + +%{ +#include <wx/gbsizer.h> +%} + +// ignore these for now - are they useful? +// require GBSizerItem to be wrapped +%ignore wxGridBagSizer::FindItemWithData; +%ignore wxGridBagSizer::FindItemAtPoint; +%ignore wxGridBagSizer::FindItemAtPosition; + +%import "include/wxObject.h" +%import "include/wxSizer.h" +%import "include/wxGridSizer.h" +%import "include/wxFlexGridSizer.h" + +%include "include/wxGridBagSizer.h" </ins></span></pre></div> <a id="trunkwxruby2swigclassesincludewxGBPositionh&quot...
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...nd -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxString& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxString& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxObject* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - wxToolBarTool* AddTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 = wxNullBitmap, wxItemKind kind = wxITEM_NORMAL, const wxString& shortHelpString = w...
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for download from RubyForge at http://wxruby.rubyforge.org/ This release includes binary builds for Max OS X and MS Windows. Please report any bugs or feature requests here: http://rubyforge.org/tracker/?group_id=35 Changes in this release include: * Added XRC (Xml Resource File) support. * Added totally awesome HTML widget from Tobi
2007 Dec 28
4
wxSizerItem show() method
It appears from the wx 2.8.7 documentation that a wxSizerItem has a show() method. But when I try to invoke it through wxruby, I get: tasks.rb:56:in `do_btn3'': undefined method `show'' for #<SWIG::TYPE_p_wxSizerItem:0xb5eedf44> (NoMethodError) Is this just something that hasn''t been added because people don''t manipulate wxSizerItems much, or is it
2006 Dec 23
0
[794] trunk/wxruby2: Fix get_ruby_object so it works with SWIG tracking, move find_window_xx
...pan><span class="cx"> </span><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><del>-// Typemap for GetChildren </del><ins>+// Typemap for GetChildren - casts wxObjects to correct ruby wrappers </ins><span class="cx"> %typemap(out) wxList& { </span><span class="cx"> $result = rb_ary_new(); </span><span class="cx"> </span><span class="lines">@@ -37,38 +36,57 @@ </span...
2004 Aug 06
12
0.4.0 Compiling Under Mingw
> I am compiling wxRuby 0.4.0 on WinXP Home under MingW and MSYS 1.0. I can > compile wxWindows and Ruby fine and I get about 20 minutes into the wxRuby > compile and it quits, It says: [snip] > C:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe : > cannot find -lwxmsw241d > make: *** [wxruby.so] Error 1 > I replaced the $LIBS in the extconf.rb file
2007 May 28
0
[1033] trunk/wxruby2/swig: GC fixes for nested sizers; fix crashes in html.rb demo
...NAGE_AS_OBJECT(wxBoxSizer); </span><span class="cx"> </span><ins>+ +// shared functions for GC marking +%include "../shared/sizers.i" +%markfunc wxBoxSizer "mark_wxSizer"; + + </ins><span class="cx"> %import "include/wxObject.h" </span><span class="cx"> %import "include/wxSizer.h" </span><span class="cx"> </span></span></pre></div> <a id="trunkwxruby2swigclassesFlexGridSizeri"></a> <div class="modfile"&...
2005 Sep 18
3
Free
In the dialogs.rb sample, when you click the delete button you get: C:/RubyDev/wxruby2/samples/dialogs/dialogs.rb:61:in `onButton'': undefined method `free'' for #<Wxruby2::Button:0x36474b8> (NoMethodError) Should all/some wxObjects have a free function? how do we intend to handle this?
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 _______________________________________________
2007 Jun 22
0
[1057] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add new methods from the 2.8 API
...lt;/span><span class="cx"> wxToolBarToolBase* AddCheckTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 , const wxString& shortHelpString = wxT(""), const wxString& longHelpString = wxT(""), wxObject* clientData = NULL) ; </span><span class="cx"> wxToolBarToolBase* AddRadioTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 , const wxString& shortHelpString = wxT(""), const wxString& longHelpStr...
2007 Jun 23
0
[1063] trunk/wxruby2/swig/classes/EvtHandler.i: Add a public ''connect'' method for handling arbitary user-defined events
...07-06-23 18:00:12 UTC (rev 1063) </span><span class="lines">@@ -10,11 +10,33 @@ </span><span class="cx"> %ignore wxEvtHandler::Disconnect; </span><span class="cx"> </span><span class="cx"> %import "include/wxObject.h" </span><del>- </del><span class="cx"> %include "include/wxEvtHandler.h" </span><span class="cx"> </span><del>-%{ </del><ins>+// The EvtHandler instance event methods (evt_xxx) are not defined +// here...
2005 Nov 23
1
Wx::SystemSettings
...not access memory. 0x02da4c04 in wxColour::wxColour(wxColour const&) () 3) Wx::SystemSettings.get_font(xxx) segfaults for me for any value, so I have %ignored it for now in the .i file. For reference, gdb reports: Program received signal EXC_BAD_ACCESS, Could not access memory. 0x02d83d68 in wxObject::Ref(wxObject const&) () all the best alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2007 Jul 04
0
[1108] trunk/wxruby2/swig: Revised mem mgmt for Sizers to address more GC crashes in Sizers demo
...</ins><span class="cx"> %include "../shared/sizers.i" </span><del>-%markfunc wxBoxSizer "mark_wxSizer"; </del><span class="cx"> </span><del>- </del><span class="cx"> %import "include/wxObject.h" </span><span class="cx"> %import "include/wxSizer.h" </span><span class="cx"> </span></span></pre></div> <a id="trunkwxruby2swigclassesFlexGridSizeri"></a> <div class="modfile"&...
2007 Mar 19
0
[902] branches/wxruby2/wxwidgets_282/swig/classes/include/parents.rb: Parents for AUI GUI classes
...t;> ''wxActivateEvent'' => ''wxEvent'', </span><span class="cx"> ''wxApp'' => ''wxEvtHandler'', </span><span class="cx"> ''wxArtProvider'' => ''wxObject'', </span><ins>+ ''wxAuiManager'' => ''wxEvtHandler'', + ''wxAuiNotebook'' => ''wxControl'', </ins><span class="cx"> ''wxAutomationObject'' => ''wxObj...
2003 Nov 06
2
MinGW build (static linking) problem
Hi! I am trying to build wxruby with statically linked wxWindows library, but so far - no luck - bunch of unresolved references during the linking phase. I''ve seen on the list that Curt was being able to build it, so any hint would be helpful. gcc 3.2.3 (MinGW 3.1.0) & MSYS 1.0.10rc2. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2007 Mar 27
0
[920] branches/wxruby2/wxwidgets_282/swig/classes/TreeCtrl.i: Fix compile error: TreeCtrl no longer inherits from wxScrolledWindow on GTK/Mac
...t;<span class="lines">@@ -98,19 +98,12 @@ </span><span class="cx"> %} </span><span class="cx"> %markfunc wxTreeCtrl "mark_wxTreeCtrl"; </span><span class="cx"> </span><del>-%import "include/wxObject.h" -%import "include/wxEvtHandler.h" -%import "include/wxWindow.h" - -#if defined(__WXMSW__) </del><span class="cx"> %import "include/wxControl.h" </span><del>-#else -%import "include/wxScrolledWindow.h" -#endif - </d...
2007 Mar 18
0
[895] branches/wxruby2/wxwidgets_282/swig/classes: Fix Window::GetChildren method for changes in 2.6 -> 2.8 API
...) </span><span class="lines">@@ -32,10 +32,10 @@ </span><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><span class="cx"> // Typemap for GetChildren - casts wxObjects to correct ruby wrappers </span><del>-%typemap(out) wxList& { </del><ins>+%typemap(out) wxWindowList& { </ins><span class="cx"> $result = rb_ary_new(); </span><span class="cx"> </span><del>- wxNode *node =...