search for: h_project_list

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

Did you mean: tc_project_list
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...t; Wx::Size.new(175, 150), :style => Wx::TR_HIDE_ROOT | Wx::TR_EDIT_LABELS | Wx::TR_HAS_BUTTONS | Wx::TR_LINES_AT_ROOT) tcr_project_root = @tc_project_list.add_root("Project List") populate_project_tree(@project_list, tcr_project_root) #... #... def populate_project_tree(h_project_list, parent_node) h_project_list.each {|key, value| tree_node = @tc_project_list.append_item(parent_node, key.to_s) if value.class.to_s == "Hash" populate_project_tree(value, tree_node) end } end #... #============================...