Displaying 6 results from an estimated 6 matches for "wxtoolbartoolbase".
Did you mean:
toolbartoolbase
2008 May 26
0
[ wxruby-Feature Requests-20367 ] wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO
...ed at 26/05/2008 16:32
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=221&aid=20367&group_id=35
Category: Missing class(es)
Group: None
Status: Open
Priority: 3
Submitted By: Pascal Hurni (phi)
Assigned to: Kevin Smith (qualitycode)
Summary: wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO
Initial Comment:
The fact that WxToolBarTool is missing (these object represent a tool in a toolbar) makes it anti-OO and thus less rubyesque to manage toolbars.
Toolbars are the last component (as I''v seen) that requires concrete ID''s. This is a pain to h...
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...nge to take place, it will happen immediately.
-
-Returns true if the tool was deleted, false otherwise.
-         * \param int
-        */
-
</del><ins>+ wxToolBarToolBase* AddTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxString& shortHelpString = wxT(""), wxItemKind kind = wxITEM_NORMAL) ;
+ wxToolBarToolBase* AddTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap&...
2007 Jun 22
0
[1057] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add new methods from the 2.8 API
...19:00:21 UTC (rev 1056)
+++ trunk/wxruby2/swig/classes/include/wxToolBar.h        2007-06-22 19:05:45 UTC (rev 1057)
</span><span class="lines">@@ -16,11 +16,14 @@
</span><span class="cx"> wxToolBarToolBase* AddTool(wxToolBarToolBase* tool );
</span><span class="cx"> wxToolBarToolBase* AddCheckTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 , const wxString& shortHelpString = wxT(""), const wxString&...
2007 Jun 22
0
[1055] trunk/wxruby2/swig/classes/ToolBar.i: Chnage methods returning ToolBarToolBase to return position of new tool;
...tring& label, const wxBitmap& bitmap1, const wxBitmap& bitmap2 = wxNullBitmap, wxItemKind kind = wxITEM_NORMAL, const wxString& shortHelpString = "", const wxString& longHelpString = "", wxObject* clientData = NULL);
</del><ins>+//
+%typemap(out) wxToolBarToolBase* {
+ int pos_of_tool = arg1->GetToolPos($1->GetId());
+ $result = INT2NUM(pos_of_tool);
+}
</ins><span class="cx">
</span><ins>+
+// Versions of methods that accept a ToolBarTool argument are not
+// supported in wxRuby, because that class is not ported.
+...
2007 Jun 22
0
[1058] trunk/wxruby2/swig: Move TB_ constants into ToolBar and add the new 2.8 ones.
...x0200,
+ wxTB_NOALIGN = 0x0400,
+ wxTB_HORZ_LAYOUT = 0x0800,
+ wxTB_HORZ_TEXT = wxTB_HORZ_LAYOUT | wxTB_TEXT,
+ wxTB_NO_TOOLTIPS = 0x1000,
+ wxTB_BOTTOM = 0x2000,
+ wxTB_RIGHT = 0x4000
+};
+
+// Numerous adding methods in wxToolBar return an undocumented C++
+// wxToolBarToolBase class. Rather than port this class, these methods
+// return the integer position of the new tool in wxRuby. Hence, all
+// access to ToolBar changing methods is via Wx::ToolBar.
</ins><span class="cx"> %typemap(out) wxToolBarToolBase* {
</span><ins>+ // arg1 here...
2005 Aug 04
9
wxruby2 retooling
I finally gave up on swig 1.3.22, since it seems to be causing too many
problems. Ubuntu breezy will have 1.3.24, so I''m retargeting wxruby2 to
swig 1.3.24+. At the moment, I have 1.3.25 on my system, since that''s
the current release.
I''m finding all kinds of problems with the post-processors we have that
clean up the .cpp files that swig creates. The