search for: tr_hide_root

Displaying 4 results from an estimated 4 matches for "tr_hide_root".

2007 Sep 04
0
[ wxruby-Bugs-13640 ] Invalid value for TreeCtrl#get_root_id when TR_HIDE_ROOT style is set (MSW)
...: http://rubyforge.org/tracker/?func=detail&atid=218&aid=13640&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Invalid value for TreeCtrl#get_root_id when TR_HIDE_ROOT style is set (MSW) Initial Comment: When a TreeCtrl is created with the TR_HIDE_ROOT style, the id values returned by add_root and get_root_id are invalid (-65636) - if passed back into get_item_text , get_item_data, item_has_children etc nothing is returned. -------------------------------------...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...s style to have the background colour and the selection highlight extend over the entire horizontal row of the tree control window. (This flag is ignored under Windows unless you specify TR_NO_LINES as well.) | +|@TR_LINES_AT_ROOT@|Use this style to show lines between root nodes. Only applicable if TR_HIDE_ROOT is set and TR_NO_LINES is not set.| +|@TR_HIDE_ROOT@|Use this style to suppress the display of the root node,effectively causing the first-level nodes to appear as a series of root nodes.| +|@TR_ROW_LINES@|Use this style to draw a contrasting border between displayed rows.| +|@TR_HAS_VARIABLE_ROW_H...
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...; nil, ''Contract7'' => nil, ''Contract8'' => nil, ''Contract9'' => nil } #... #And Given the following code: #... @tc_project_list = Wx::TreeCtrl.new(self, :size => 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 {...
2004 Jan 08
3
pictorG
...esh_item i Thread.pass } } end end #======================================================================== class Categories < TreeCtrl attr :root def initialize parent #,id=-1,pos=DEFAULT_POSITION,size=DEFAULT_SIZE,style=TR_HAS_BUTTONS|TR_ROW_LINES|TR_EDIT_LABELS#|TR_HIDE_ROOT super parent,-1,DEFAULT_POSITION,DEFAULT_SIZE,TR_EDIT_LABELS|TR_HAS_BUTTONS @cats = Tree.new( ''All pictures (sok)'',[ Tree.new(''Location'',[''Budapest'',''Venice'']), Tree.new(''Type'',['...