Displaying 2 results from an estimated 2 matches for "select_item".
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->2.8
...so: "sort_children":#TreeCtrl_sortchildren
</span><span class="cx">
</span><span class="lines">@@ -834,7 +893,7 @@
</span><span class="cx">
</span><span class="cx"> h3(#TreeCtrl_selectitem). TreeCtrl#select_item
</span><span class="cx">
</span><del>- Boolean *select_item*(%(arg-type)TreeItemId% item, %(arg-type)Boolean% select = )
</del><ins>+ *select_item*(%(arg-type)TreeItemId% item, %(arg-type)Boolean% select = )
</ins><span class="cx"...
2007 Apr 14
1
how to simulate key_down event(when event.get_key_code()==Wx::K_DOWN) in ListCtrl or TreeCtrl?
I want to simulate vi(vim) like operations in ListCtrl or TreeCtrl,
that is, for example, when user pressed a ''j'' on keyboard,the selected
item change into the next one item, just like user press a
Wx::K_DOWN(arrow key down on keyboard) .
but not jump to some item started with a "J" charater.
evt_tree_key_down(TreeTest_Ctrl) { | e | on_tree_key_down(e) }
...
def