search for: tr_edit_labels

Displaying 5 results from an estimated 5 matches for "tr_edit_labels".

2007 Jun 20
0
[ wxruby-Bugs-11708 ] Wx::TreeCtrl#on_compare_items can not work
...dy (None) Assigned to: Kevin Smith (qualitycode) Summary: Wx::TreeCtrl#on_compare_items can not work Initial Comment: require "wx" class MyTreeCtrl < Wx::TreeCtrl def initialize(parent) super parent, -1, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, Wx::TR_DEFAULT_STYLE | Wx::TR_EDIT_LABELS end def on_compare_items(item1, item2) raise #no raise end end class MyFrame < Wx::Frame def initialize(title) super(nil, -1, title) @tree=MyTreeCtrl.new(self) @root = @tree.add_root("The Root Item") 0.upto(15) do |x| child= @tre...
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...;'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 {|key, value|...
2007 Jul 05
8
when can publish the next version?
when can publish the next version? i am waiting... _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...quot;> h2. Window styles </span><span class="cx"> </span><ins>+The behaviour and appearance of a TreeCtrl can be modified in several +ways by applying styles when constructing the widget. </ins><span class="cx"> </span><ins>+|@TR_EDIT_LABELS@|Use this style if you wish the user to be able to edit labels in the tree control.| +|@TR_NO_BUTTONS@|For convenience to document that no buttons are to be drawn.| +|@TR_HAS_BUTTONS@|Use this style to show + and - buttons to the left of parent items.| +|@TR_NO_LINES@|Use this style to hide vertica...
2004 Jan 08
3
pictorG
...con refresh_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'...