similar to: FW: Wx::ListCtrl#get_item method

Displaying 20 results from an estimated 1000 matches similar to: "FW: Wx::ListCtrl#get_item method"

2004 Jan 15
10
Wx::ListCtrl#get_item method
Hi guys! I have a question (or a request?) on Wx::ListCtrl#get_item method. As you can see in the wxWindows reference, wxListCtrl::GetItem method of C++ is different from that of wxPython. C++ return value: boolean argument: wxListItem& info wxPython return value: wxListItem arguments: int ID, int column (optional) How about wxruby? >From the wxruby source code, wxruby looks
2006 Nov 15
0
[740] trunk/wxruby2: API - Make ListCtrl#get_item return a ListCtrl item corresponding to a row and
<!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 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_text() now x equals "" ! I
2006 Nov 13
0
[735] trunk/wxruby2: Got the ''get_item_sample'' sample working had to add some missing ListCtrl constants.
<!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:
2008 Jun 02
0
[ wxruby-Bugs-20477 ] Wx::ListEvent#get_item crashes when navigating with the keypad
Bugs item #20477, was opened at 02/06/2008 10:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20477&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Nobody (None) Summary: Wx::ListEvent#get_item crashes when navigating with the keypad Initial Comment:
2006 Nov 13
0
ListCtrl / ListItem
The attached patch builds upon Sean''s neat work adding the ListItem constants. Instead of passing a ListItem into ListCtrl#get_item, you now pass the row and optionally the column you want info for, and get a ListItem back. This was suggested by how wxPython works, according to the docs. I hadn''t realised until now, but %extend does work correctly with directors - so as
2004 Feb 08
0
wxruby 0.2 Release - Macintosh
For some reason this posting was auto-discarded, so I reposted it. Curt -----Original Message----- From: Nick Kral [mailto:nkral@pinnaclet.com] Sent: Sunday, February 08, 2004 1:40 PM To: Wxruby developers'' list Subject: wxruby 0.2 Release A first draft of the wxruby binary release for the macintosh is now available at: http://www.nicreations.net/wxruby-0.2-osx-panther.dmg Install
2004 Mar 15
3
FW: Ugh
This got auto-discarded by mailman, so I''m reposting it. Curt -----Original Message----- From: Nick Kral [mailto:nkral@pinnaclet.com] Sent: Monday, March 15, 2004 2:21 PM To: Kevin Smith Cc: Wxruby developers'' list Subject: Ugh Ok, I found the checkbox I forgot to check to make the disk image a proper size. I have a new disk image of wxruby-0.2.1-osx-panther (same code,
2006 Nov 30
0
[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test
<!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 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 getting sorted but I nothing is getting
2006 Nov 29
0
[ wxruby-Bugs-6972 ] Wx::ListCtrl will crash if item added before insert_column called
Bugs item #6972, was opened at 2006-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
2007 Aug 10
0
[ wxruby-Bugs-12962 ] Wx::ListCtrl setting text or background colour doesn''t work on Windows
Bugs item #12962, was opened at 2007-08-10 07:39 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=12962&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Serge Kruppa (sergejf) Assigned to: Nobody (None) Summary: Wx::ListCtrl setting text or background colour doesn''t work on
2007 Apr 14
1
how to simulate key_down event(when event.get_key_code()==Wx::K_DOWN) in ListCtrl or TreeCtrl?
I want to simulate vi(vim) like operations in ListCtrl or TreeCtrl, that is, for example, when user pressed a ''j'' on keyboard,the selected item change into the next one item, just like user press a Wx::K_DOWN(arrow key down on keyboard) . but not jump to some item started with a "J" charater. evt_tree_key_down(TreeTest_Ctrl) { | e | on_tree_key_down(e) } ... def
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 makes using LC_VIRTUAL impossible. -- Eric Will // xmpp:rakaur@malkier.net
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 a two-dimensional array. My very problem
2006 Nov 21
0
[747] trunk/wxruby2/Changelog: get_item stuff, evt_toolbar, also correct a commit from 0.0.37 that I missed
<!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 23
0
[851] trunk/wxruby2/swig/classes/ListCtrl.i: Don''t try and mark item data for virtual ListCtrls, b/c it can crash
<!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 03
0
[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems
<!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 Nov 29
0
[763] trunk/wxruby2/doc/textile/listctrl.txtl: Warn about a potential mistake using the API that may cause a crash
<!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
[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family
<!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: