Displaying 5 results from an estimated 5 matches for "start_item".
2007 Apr 02
0
[940] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Align #traverse usage with #each in enumerable_controls.rb
...amp;nbsp     2007-04-02 19:13:44 UTC (rev 940)
</span><span class="lines">@@ -1,13 +1,34 @@
</span><span class="cx"> class Wx::TreeCtrl
</span><span class="cx"> # Recurses over the tree item +start_item+ and its descendants,
</span><del>- # yielding each Wx::TreeItemId in turn into the passed block. This
- # TreeItemId can be used as an argument to many other methods within
- # TreeCtrl (for example, get_item_text).
</del><ins>+ # yielding each item in the tree in turn...
2006 Dec 21
0
[793] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Moved traverse method in wxSugar
...trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb        2006-12-21 00:09:12 UTC (rev 793)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+class Wx::TreeCtrl
+ # Recurses over the tree item +start_item+ and its descendants,
+ # yielding each Wx::TreeItemId in turn into the passed block. This
+ # TreeItemId can be used as an argument to many other methods within
+ # TreeCtrl (for example, get_item_text).
+ #
+ # If +start_item+ is not specified, this method will recurse over
+ # every item w...
2007 Jan 08
0
[842] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Fix for TreeItemIds as Integers
...C (rev 841)
+++ trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb        2007-01-08 20:34:42 UTC (rev 842)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> block.call(start_item)
</span><span class="cx"> if has_children(start_item)
</span><span class="cx"> child, cookie = get_first_child(start_item)
</span><del>- while child.is_ok
</del><ins>+ while child.nonzero?
</ins><span c...
2006 Dec 24
0
[800] trunk/wxruby2/doc/textile/treectrl.txtl: TreeCtrl#traverse has moved to wx sugar
...given item between selected and unselected states. For
</span><span class="cx"> multiselection controls only.
</span><span class="cx">
</span><del>-h3(#TreeCtrl_traverse). TreeCtrl#traverse
-
- *toggle_item_selection*(%(arg-type)TreeItemId% start_item = root_id) { | item_id | ... }
-
-Recurses over the treectrl''s items, passing each TreeItemId successively
-into the passed block. This TreeItemId can be used as an argument to
-many other methods in this class.
-
-The @start_item@ argument will be the first item_id passe...
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...<span class="cx"> multiselection controls only.
</span><span class="cx">
</span><ins>+h3(#TreeCtrl_traverse). TreeCtrl#traverse
</ins><span class="cx">
</span><ins>+ *toggle_item_selection*(%(arg-type)TreeItemId% start_item = root_id) { | item_id | ... }
+
+Recurses over the treectrl''s items, passing each TreeItemId successively
+into the passed block. This TreeItemId can be used as an argument to
+many other methods in this class.
+
+The @start_item@ argument will be the first item_id passe...