search for: on_compare_items

Displaying 10 results from an estimated 10 matches for "on_compare_items".

2007 Jul 18
0
[ wxruby-Bugs-12360 ] TreeCtrl#on_compare_items not working on MSW
...8 08:24 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=12360&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: TreeCtrl#on_compare_items not working on MSW Initial Comment: If a TreeCtrl defines a custom on_compare_items method, this is not called when the tree is sorted on MSW. This works correctly on OS X and Linux. The following note in the wxWidgets headers may indicate the source of the problem: // NB: due to an ugly wxM...
2007 Jun 20
0
[ wxruby-Bugs-11708 ] Wx::TreeCtrl#on_compare_items can not work
...06-20 06:53 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=11708&group_id=35 Category: Incorrect behavior Group: v0.4 Status: Open Resolution: None Priority: 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 r...
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
2007 Sep 03
1
API survey results & update
...The changes are summarised at the bottom of the email. We hope to have a 1.9.1 release incorporating these in the next week or two. 1.9.1 will also add StyledTextCtrl (Scintilla) support, as well as BitmapComboBox and RendererNative. Lastly it has some useful bugfixes to methods - eg TreeCtrl#on_compare_items; Choice#append; ListCtrl#get_item_rect cheers alex 1) All widgets and frames can be created using keyword args. This is really handy, for example, if you mainly use Sizers to manage layouts, and so rarely need to set an explicit size or position for a window. So, for a multiline TextCtrl, bef...
2007 Jun 21
0
[ wxruby-Bugs-11747 ] Segfault if unexpected type is returned by some director methods
...ne Status: Open Resolution: None Priority: 2 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Segfault if unexpected type is returned by some director methods Initial Comment: Several possibly overridden ruby methods are called from C++ using directors - TreeCtrl#on_compare_items, App#filter_event - and are expectd to return an integer. However, on OS X 10.3, if a non-Fixnum type is returned from ruby (eg nil) then it segfaults. This should be handled gracefully by raising a ruby TypeError exception. ----------------------------------------------------------------------...
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
Given the following hash: #... @project_list = { ''Contract0'' => nil, ''Contract1'' => { ''Project1'' => nil, ''Project2'' => nil, ''Project3'' => { ''task1'' =>
2004 Apr 20
4
wxRuby 0.3.0 has been released!
wxRuby 0.3.0 has been released and is now available for download from RubyForge at: http://wxruby.rubyforge.org/ This release includes binary builds for Max OS X Panther and MS Windows. Hopefully, within a couple weeks I will release RubyGems for the source, and RubyGem binaries for Mac, Windows, and Linux. Please report any bugs or feature requests here:
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...</span><span class="lines">@@ -959,7 +964,7 @@ </span><span class="cx"> </span><span class="cx"> h4. See also </span><span class="cx"> </span><del>-"TreeItemData":treeitemdata.html, "on_compare_items":#TreeCtrl_oncompareitems </del><ins>+"on_compare_items":#TreeCtrl_oncompareitems </ins><span class="cx"> </span><span class="cx"> </span><span class="cx"> h3(#TreeCtrl_toggle). TreeCtrl#toggle </span&...
2006 Oct 16
9
wxRuby-0.6.0, wxRuby2, SWIG and....
Hi, my first post here so a little background first... I started out using wxRuby-0.6.0 about 4 months ago while trying to get a grip on Ruby as a means of writing a little budgetting app I''ve been meaning to write for a couple of years. As I didn''t like the way that the wxruby examples are coded (having to punch the individual C++ api methods that way isn''t nice) I
2004 Aug 26
18
wxRuby 0.5.0 has been released!
...Please report any bugs or feature requests here: http://rubyforge.org/tracker/?group_id=35 Changes in this release include: * Added XRC (Xml Resource File) support. * Added totally awesome HTML widget from Tobi Gruetzmacher. * Fix crash in ListCtrl#on_get_item_xxx * Fix crash in TreeCtrl#on_compare_items * Remove all get/set_client_data and get_event_object methods (they were broken anyway) * Patched problem with MSVC.NET that caused build problems -------------- What is wxRuby? wxRuby is an open source GUI toolkit for the Ruby programming language. It provides a Ruby interface to the c...