Displaying 4 results from an estimated 4 matches for "tr_default_styl".
Did you mean:
tr_default_style
2007 Jun 20
0
[ wxruby-Bugs-11708 ] Wx::TreeCtrl#on_compare_items can not work
...ty: 3
Submitted By: Nobody (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|...
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)
...his is the default.|
+|@TR_MULTIPLE@|Use this style to allow a range of items to be selected.If a second range is selected, the current range, if any, is deselected.|
+|@TR_EXTENDED@|Use this style to allow disjoint items to be selected. (Only partially implemented; may not work in all cases.)|
+|@TR_DEFAULT_STYLE@|The set of flags that are closest to the defaults for the native control for a particular toolkit.|
</ins><span class="cx">
</span><del>-|@TR_EDIT_LABELS@|Use this styleif you wish the user to be able to edit labels in the tree control.|
-|@TR_NO_BUTTONS@|For co...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
..., 250),
+ Wx::NO_BORDER|Wx::WANTS_CHARS)
+ grid.create_grid(50, 20)
+ grid
+ end
+
+
+ def create_tree_ctrl
+ tree = Wx::TreeCtrl.new( self, Wx::ID_ANY,
+ Wx::Point.new(0, 0), Wx::Size.new(160, 250),
+ Wx::TR_DEFAULT_STYLE|Wx::NO_BORDER)
+
+ img_list = Wx::ImageList.new(16, 16, true, 2)
+ img_list.add( Wx::ArtProvider::get_bitmap( Wx::ART_FOLDER,
+ Wx::ART_OTHER,
+ Wx::Size.new(16, 16) ) )
+ img_list.add( Wx::ArtPr...