search for: new_label

Displaying 1 result from an estimated 1 matches for "new_label".

2006 Nov 23
0
[ wxruby-Feature Requests-6826 ] Add a traverse method to Wx::TreeCtrl
...f each treectrl item in turn. An optional parameter to the method could specify the id of an entry point to traverse from, to allow only part of the tree to be traversed. The default argument would be the root id. Example: # set all labels to upper case my_tree.traverse(some_id) do | item_id | new_label = my_tree.get_item_text(tree_id).upcase my_tree.set_item_text(tree_id, new_label) end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=221&aid=6826&group_id=35