Displaying 1 result from an estimated 1 matches for "a_checkbox".
2006 Sep 11
15
ruby method names
...alternative
textctrl.get_value # currently
textctrl.value # now an alternative
Also, C++ methods named ''IsXXX'' are now exposed in ruby with the
alternative name ''xxx?'', eg
tree_item_id.is_ok # currently
tree_item_id.ok? # now an alternative
a_checkbox.is_checked
a_checkbox.checked?
Note these are simply aliases - existing code can remain unchanged. I
think this would do a lot to make the API feel more ruby-like (or
pythonesque - WxPython follows this style) - but is pretty cheap and
straightforward. There is no speed hit, and the resulting...