noreply at rubyforge.org
2009-Jan-05 14:50 UTC
[wxruby-development] [ wxruby-Bugs-23445 ] Inconsistent naming for Check Tool / Toggle Tool
Bugs item #23445, was opened at 05/01/2009 15:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23445&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Chauk-Mean P (chauk-mean) Assigned to: Nobody (None) Summary: Inconsistent naming for Check Tool / Toggle Tool Initial Comment: A "Check Tool" can be added to a ToolBar with : - add_tool or add_item methods with the Wx::ITEM_CHECK as the item kind - or via the dedicated method add_check_tool Unfortunately, the method for checking/unchecking such a tool is called ToolBar#toggle_tool ! Also, in ToolBarTool, other methods use the term toggle like can_be_toggled and is_toggled. This is quite inconsistent and confusing ... I''d really like to use a consistent terminology. => Always use Toggle or Check => or provide aliases. Thanks. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23445&group_id=35