Displaying 20 results from an estimated 26 matches for "treeitemid".
2006 Dec 24
0
[799] trunk/wxruby2: Fixed TreeItemId == method
...solid #ccc;margin: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>[799] trunk/wxruby2: Fixed TreeItemId == method</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>799</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-12-23 21:26:37 -0500 (Sat, 23 Dec 2006)</dd>...
2007 Jan 06
0
[835] trunk/wxruby2/doc/textile: Updated documentation about TreeItemId
...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>[835] trunk/wxruby2/doc/textile: Updated documentation about TreeItemId</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>835</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-01-05 19:39:19 -0500 (Fri, 05 Jan 2007)</dd>
</dl&g...
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&...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...</span><span class="cx"> h1(#wxtreectrl). Wx::TreeCtrl
</span><span class="cx">
</span><del>-A tree control presents information as a hierarchy, with items that may be expanded
-to show further items. Items in a tree control are referenced by TreeItemId handles,
-which may be tested for validity by calling TreeItemId::IsOk.
</del><ins>+A tree control presents information as a hierarchy, with items that may
+be expanded to show further items. Desktop OSes commonly make use of
+this type of control to present a navigable representation o...
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&...
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->2.8
...;
</span><ins>+h3(#TreeCtrl_collapseall). TreeCtrl#collapse_all
+
+ *collapse_all*()
+
+Collapses the root item.
+
+h4. See also
+
+"expand_all":#TreeCtrl_expandall
+
+
+h3(#TreeCtrl_collapseallchildren). TreeCtrl#collapse_all_children
+
+ *collapse_all_children*(%(arg-type)TreeItemId% item)
+
+Collapses this item and all of its children, recursively.
+
+h4. See also
+
+"expand_all_children":#TreeCtrl_expandallchildren
+
+
</ins><span class="cx"> h3(#TreeCtrl_collapseandreset). TreeCtrl#collapse_and_reset
</span><span class="cx"...
2007 Mar 17
0
[888] branches/wxruby2/wxwidgets_282/swig/shared/treeitemid_typemaps.i: Fix compile warning for TreeItemId typemap (Artur Kuptel)
...x 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>[888] branches/wxruby2/wxwidgets_282/swig/shared/treeitemid_typemaps.i: Fix compile warning for TreeItemId typemap (Artur Kuptel)</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>888</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <d...
2007 Mar 30
0
[931] branches/wxruby2/wxwidgets_282/doc/textile/treectrl.txtl: Added insert_item_before documentation.
...</span><span class="cx"> %(arg-type)Integer% selImage = -1,
</span><span class="cx"> %(arg-type)Object% item_data = @nil@)
</span><span class="cx">
</span><del>- "TreeItemId":treeitemid.html *insert_item*(%(arg-type)TreeItemId% parent,
- %(arg-type)size_t% before, %(arg-type)String% text,
- %(arg-type)Integer% image = -1,
- %(arg-type)Integer% selImage = -1,
-...
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:...
2007 Apr 13
0
[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
...xt-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>[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>950</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-04-13 15:13:30 -0400 (Fri, 13 Apr 2007...
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 attachment gets scrubbed somewhere along the way:
Index: fixdeleting.rb
===================================================================...
2006 Dec 24
0
[800] trunk/wxruby2/doc/textile/treectrl.txtl: TreeCtrl#traverse has moved to wx sugar
...Toggles the given item between selected and unselected states. For
</span><span class="cx"> multiselection controls only.
</span><span class="cx">
</span><del>-h3(#TreeCtrl_traverse). TreeCtrl#traverse
-
- *toggle_item_selection*(%(arg-type)TreeItemId% start_item = root_id) { | item_id | ... }
-
-Recurses over the treectrl''s items, passing each TreeItemId successively
-into the passed block. This TreeItemId can be used as an argument to
-many other methods in this class.
-
-The @start_item@ argument will be the first i...
2007 Apr 02
0
[940] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Align #traverse usage with #each in enumerable_controls.rb
...v 940)
</span><span class="lines">@@ -1,13 +1,34 @@
</span><span class="cx"> class Wx::TreeCtrl
</span><span class="cx"> # Recurses over the tree item +start_item+ and its descendants,
</span><del>- # yielding each Wx::TreeItemId in turn into the passed block. This
- # TreeItemId can be used as an argument to many other methods within
- # TreeCtrl (for example, get_item_text).
</del><ins>+ # yielding each item in the tree in turn into the block. If
+ # +start_item+ is not specified, this method will recurse...
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...lt;/span><span class="cx"> multiselection controls only.
</span><span class="cx">
</span><ins>+h3(#TreeCtrl_traverse). TreeCtrl#traverse
</ins><span class="cx">
</span><ins>+ *toggle_item_selection*(%(arg-type)TreeItemId% start_item = root_id) { | item_id | ... }
+
+Recurses over the treectrl''s items, passing each TreeItemId successively
+into the passed block. This TreeItemId can be used as an argument to
+many other methods in this class.
+
+The @start_item@ argument will be the first i...
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 wxT...
2007 Mar 19
0
wxruby2-preview 0.0.39 is released
...of startup warnings on GTK should also be fixed, but
there are still occasional warnings on Linux. Note that you should not
try to initialise Pens, Brushes or Fonts outside of the App.main_loop,
as this causes GTK warnings.
There''s one backwards-incompatible change - where previously
TreeItemId.ok was called to test if it was a valid item, you should now
do TreeItemId#nonzero?
= NEXT STEPS
Work on the next release is already well underway in SVN. In this
version we''ll be upgrading to WxWidgets 2.8, and hopefully releasing as
a beta to reflect the increasing stability and comp...
2006 Dec 21
0
[793] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Moved traverse method in wxSugar
...bsp       2006-12-21 00:09:12 UTC (rev 793)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+class Wx::TreeCtrl
+ # Recurses over the tree item +start_item+ and its descendants,
+ # yielding each Wx::TreeItemId in turn into the passed block. This
+ # TreeItemId can be used as an argument to many other methods within
+ # TreeCtrl (for example, get_item_text).
+ #
+ # If +start_item+ is not specified, this method will recurse over
+ # every item within the tree, starting with the root item.
+ def trav...
2007 Jun 05
0
[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl
...te image list. Image list assigned with this method will
-be automatically deleted by TreeCtrl as appropriate
-(i.e. it takes ownership of the list).
-
-See also "set_state_image_list":#TreeCtrl_setstateimagelist.
-
-
-
-h3(#TreeCtrl_collapse). TreeCtrl#collapse
-
- *collapse*(%(arg-type)TreeItemId% item)
-
-Collapses the given item.
-
-
</del><span class="cx"> h3(#TreeCtrl_collapseall). TreeCtrl#collapse_all
</span><span class="cx">
</span><span class="cx"> *collapse_all*()
</span><span class="lines">@...
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) { | item | puts tree.set_item_bold(item) }
Wanted to check if an...
2006 Dec 24
0
[803] trunk/wxruby2/Changelog: Update with recent changes
...sp     2006-12-24 12:34:06 UTC (rev 803)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+- Added MenuEvent class (Alex Fenton)
+- Documented how to use WindowDisabler, BusyCursor & BusyInfo (Alex Fenton)
+- Fixed TreeItemId == method (Alex Fenton)
+- Moved TreeCtrl#traverse to wxSugar (Alex Fenton)
+- Simplify some bits of XRC sample (Alex Fenton)
+- Added some missing classes to parents.rb (Alex Fenton)
+- Made find_window_xx etc return correct objects from SWIG tracking (Alex FEnton)
+- Added TextUrlEvent class (Ale...