search for: treeitemids

Displaying 20 results from an estimated 26 matches for "treeitemids".

Did you mean: treeitemid
2006 Dec 24
0
[799] trunk/wxruby2: Fixed TreeItemId == method
...mp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-12-24 02:26:37 UTC (rev 799) </span><span class="lines">@@ -0,0 +1,8 @@ </span><ins>+class Wx::TreeItemId + # Fix equality here because TreeCtrl methods don''t return identical + # TreeItemIds for repeated calls referring to the same item. + def ==(other) + return false unless other.is_a?(self.class) + return self.to_i == other.to_i + end +end </ins></span></pre></div> <a id="trunkwxruby2swigclassesTreeItemIdi"></a> <div class=&quo...
2007 Jan 06
0
[835] trunk/wxruby2/doc/textile: Updated documentation about TreeItemId
...t label and parent, tree items can have several other properties, +such as being bold or italic, and icons for expanded and collapsed states. + </ins><span class="cx"> In wxRuby, individual items (including branches) in a tree control are </span><del>-referenced by TreeItemIds. These ids are returned by methods such as </del><ins>+referenced by *TreeItemIds*. These ids are returned by methods such as </ins><span class="cx"> "append_item":#TreeCtrl_appenditem which add items to a tree, and by </span><span class="cx...
2007 Jan 05
0
[831] trunk/wxruby2: Use simple ruby Integers to represent TreeItemIds
...ch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[831] trunk/wxruby2: Use simple ruby Integers to represent TreeItemIds</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>831</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 18:19:57 -0500 (Fri, 05 Jan 2007)</dd> </dl&g...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...t;ListCtrl":listctrl.html, "ImageList":imagelist.html, "TreeEvent":treeevent.html </ins><span class="cx"> </span><ins>+h2. Working with TreeCtrl items + +In wxRuby, individual items (including branches) in a tree control are +referenced by TreeItemIds. These ids are returned by methods such as +"append_item":#TreeCtrl_appenditem which add items to a tree, and by +TreeEvents which can be queried to find which item is being acted +upon. The ids can then be passed in as arguments to methods which modify +items within the tree, such as &qu...
2007 Jan 08
0
[842] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Fix for TreeItemIds as Integers
...{background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[842] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Fix for TreeItemIds as Integers</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>842</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-08 15:34:42 -0500 (Mon, 08 Jan 2007)</dd&g...
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->2.8
...ot;lines">@@ -683,7 +730,7 @@ </span><span class="cx"> </span><span class="cx"> h3(#TreeCtrl_getselections). TreeCtrl#get_selections </span><span class="cx"> </span><del>- size_t *get_selections*(%(arg-type)ArrayTreeItemIds% selection) </del><ins>+ unsigned int *get_selections*(%(arg-type)ArrayTreeItemIds% selection) </ins><span class="cx"> </span><span class="cx"> Fills the array of tree items passed in with the currently selected items. This </span><s...
2007 Mar 17
0
[888] branches/wxruby2/wxwidgets_282/swig/shared/treeitemid_typemaps.i: Fix compile warning for TreeItemId typemap (Artur Kuptel)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 30
0
[931] branches/wxruby2/wxwidgets_282/doc/textile/treectrl.txtl: Added insert_item_before documentation.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jan 05
0
[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample
...:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>832</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 18:22:3...
2007 Apr 13
0
[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 17
5
Fix for crash at exit
Hi This is a very small patch that seems to solve that "Exit the app and get a segfault in return" problem. Another thing: bigdemo.rb:395 does item = event.get_item() if item.is_ok but get_item typemaps TreeItemId into a plain integer, so it doesn''t have is_ok method anymore, is there any wxruby2''yish solution to this kind of problem ? A.K. In case
2006 Dec 24
0
[800] trunk/wxruby2/doc/textile/treectrl.txtl: TreeCtrl#traverse has moved to wx sugar
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 02
0
[940] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Align #traverse usage with #each in enumerable_controls.rb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Dec 30
1
wxTreeItemId
I''ve been doing some development with TreeCtrl, and am having a few problems with TreeItemId. Specifically, I''m getting ''null reference'' errors after a time - which I think means that the wrapper is tracking objects, but the underlying C++ object is deleted. Rather than trying to fix this. I''m wondering if it''s easier to do away with the
2007 Mar 19
0
wxruby2-preview 0.0.39 is released
Hi all You''ve probably already clicked that 0.0.39 is available now in source and binaries for all the major platforms. This recommended upgrade is at: http://rubyforge.org/frs/?group_id=35&release_id=10372 = MAJOR CHANGES * lots of big and small bugfixes * New widget classes: ScrollBar, PasswordEntryDialog, MultiChoiceDialog * New misc classes: GridBagSizer, AcceleratorTable,
2006 Dec 21
0
[793] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Moved traverse method in wxSugar
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 05
0
[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Dec 01
0
TreeCtrl#traverse patch
Hi Attached is a patch to add a ''traverse'' method to walk through a TreeCtrl''s items. It accepts a block and yields each TreeItemId in turn into it: # print all the labels in the tree: tree.traverse { | item | puts tree.get_item_text(item) } It can optionally accept the id of a branch to start at # embolden all items at branch and below: tree.traverse(branch) { |
2006 Dec 24
0
[803] trunk/wxruby2/Changelog: Update with recent changes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: