noreply at rubyforge.org
2008-May-30 10:45 UTC
[wxruby-development] [ wxruby-Patches-20447 ] Add keyword constructor to new class Wx::ToolBarTool
Patches item #20447, was opened at 30/05/2008 12:45 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=220&aid=20447&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Nobody (None) Summary: Add keyword constructor to new class Wx::ToolBarTool Initial Comment: Wx::ToolBar API changed in 1.9.7. A new class modeling a single tool in a toolbar has come: Wx::ToolBarTool. Objects of this new class should also be created with keyword constructors like other classes. This patch adds this functionnality. I did not use the code provided by Chauk-Mean shown shown in this thread: http://rubyforge.org/pipermail/wxruby-development/2008-March/001249.html I prefer to stick with the API of wxWidgets and add more rubyesque methods in wxSugar. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=220&aid=20447&group_id=35
Seemingly Similar Threads
- [ wxruby-Bugs-20446 ] Wx::ToolBar API changed in 1.9.7, new Wx::ToolBarTool doc missing
- [ wxruby-Feature Requests-20367 ] wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO
- [ wxruby-Bugs-20477 ] Wx::ListEvent#get_item crashes when navigating with the keypad
- Proposal for an improved API for Sizer (and ToolBar)
- [972] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix missing keyword param for Wx::Gauge