search for: listctrl

Displaying 20 results from an estimated 82 matches for "listctrl".

2006 Nov 15
0
[740] trunk/wxruby2: API - Make ListCtrl#get_item return a ListCtrl item corresponding to a row and
...d #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>[740] trunk/wxruby2: API - Make ListCtrl#get_item return a ListCtrl item corresponding to a row and</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>740</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2006-1...
2007 Jan 23
0
[851] trunk/wxruby2/swig/classes/ListCtrl.i: Don''t try and mark item data for virtual ListCtrls, b/c it can crash
...#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>[851] trunk/wxruby2/swig/classes/ListCtrl.i: Don''t try and mark item data for virtual ListCtrls, b/c it can crash</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>851</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</d...
2009 Sep 05
5
Filling Wx::ListCtrl with contents
Hi all, I''ve got a question concerning ListCtrl_virtual of wxRuby since I see no way filling the list with dynamic contents. I''m new to Ruby so I maybe have to apologise for my request. The problem is, that I have to define the on_get_item_text(item, col) function. There I would like to use the item and col variables to read data from...
2009 Oct 24
6
Working with ListCtrl and ListItem
Hi List, I''m trying to get my ListCtrl to work. Currently I''ve managed to fill my ListCtrl with items, but I think it''s not the most beautiful way: class MyList < Wx::ListCtrl def initialize(parent, *args) super(parent, :style => Wx::LC_REPORT|LC_HRULES ) create_layout fill_list end def create_layou...
2007 Jun 05
0
[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl
...one;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>[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1050</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-06-05 16:13:43 -0400 (Tue, 05 Jun 2007)</dd> </dl&...
2007 Aug 27
3
Problem with ListCtrl#get_item
Hello, I have a problem with getting items from ListCtrl. Although my ListCtrl is in LC_REPORT mode, it has columns set up, every cell is set with set_item and everything displays fine, this code: x = myList.get_item(row,col).get_text() always returns an empty string. For example: myList.set_item(0,0,"Hello") x = myList.get_item(0,0).get_t...
2007 Jan 14
3
ListCtrl help
Is there any sample code around that sorts a virtual listctrl? I have loaded data into a ListCtrl and set things up so that if I click on a column heading on_col_left_click(event) gets called and it in turn sorts / reverses the sort of that column. I am printing out the data for debugging purposes so I know that my internal data representation is ge...
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to set_item_string. One thing...
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and define a callback function on_get_item_text(item, col) How can I insert Listitem one by one, that each Listitem is composed with several string -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@r...
2008 Apr 28
1
LC_REPORT ListCtrl Confusion
Hi, I''m having some trouble allowing the user to edit a multi-column listctrl. I can do the first column fine, simply by calling ListCtrl::edit_label in the activate event, but it seems impossible to do this for the other columns for two reasons. 1, the activate event doesn''t allow you to get the column, and 2, edit_label onl;y works for the first column. Thanks, L...
2004 Jan 27
0
FW: Wx::ListCtrl#get_item method
For some reason, Mailman auto-discarded this message, so I am reposting it. Curt -----Original Message----- From: Nick Kral [mailto:nkral@pinnaclet.com] Sent: Tuesday, January 27, 2004 8:55 AM To: Wxruby developers'' list Subject: Re: [Wxruby-users] Wx::ListCtrl#get_item method Same question - I have a small patch I need to send for the mac version. Nick Curt Hibbs wrote: >I know you are going away soon, do you still want to do a 0.2 Release before >then? If so, you should probably label the CVS repository and I should do >another windows bu...
2007 Apr 03
0
[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems
...n: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>[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>942</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>20...
2007 Apr 02
0
[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family
...d:#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>[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>938</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-02 14:48:45 -0400 (Mon, 02 Ap...
2006 Nov 29
0
[763] trunk/wxruby2/doc/textile/listctrl.txtl: Warn about a potential mistake using the API that may cause a crash
...d #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>[763] trunk/wxruby2/doc/textile/listctrl.txtl: Warn about a potential mistake using the API that may cause a crash</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>763</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> &...
2007 Apr 03
0
[944] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Fix bug with endless recursion on not-found items in find_string
...n: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>[944] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Fix bug with endless recursion on not-found items in find_string</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>944</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd...
2006 Nov 30
0
[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test
...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>[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>765</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2006-11-29 20:21:25 -0500 (Wed, 29 Nov 2006)</dd&gt...
2006 Nov 29
0
[ wxruby-Bugs-6972 ] Wx::ListCtrl will crash if item added before insert_column called
...11-29 23:47 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=6972&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 2 Submitted By: Alex Fenton (brokentoy) Assigned to: Kevin Smith (qualitycode) Summary: Wx::ListCtrl will crash if item added before insert_column called Initial Comment: If Wx::ListCtrl has been created with Wx::LC_REPORT style (to show multiple columns and rows, with optional icon), it will SEGV if insert_item is called before insert_column is called. Doing this (inserting an item before inser...
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys, I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl will not resize horizontally no matter what I''m doing. I''ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work....
2008 Oct 20
1
LC_VIRTUAL with Wx::ListCtrl
Wx::ListCtrl#set_item_count appears to be broken. If I pass it anything but a Fixnum (is_a Integer), it crashes and says it needs a "long" (which Fixnum should appease), but if I pass it a Fixnum it crashes with "cannot convert nil into String." Latest WxRuby. Windows Vista. This mak...
2007 Sep 05
0
[ wxruby-Bugs-13676 ] xrc listctrl windows custom data crash
...ed at 2007-09-05 14:01 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=13676&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Bela Babik (teki321) Assigned to: Nobody (None) Summary: xrc listctrl windows custom data crash Initial Comment: I have attached the source and the xrc files. Double click on any line to get the crash: $ ./wxb.rb ./wxb.rb:28: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual wa...