Displaying 20 results from an estimated 10000 matches similar to: "Wx::ListCtrl#get_item method"
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
2004 Apr 26
7
TRW: getters and setters
Hi all,
I mentioned this on the forum but wasn''t sure if
anyone was paying attention. I was just wondering if
it would be possible to replace the
get_something/set_something style methods with the
more Rubyish something/something= style (i.e. uniform
access).
For example, the Button class currently has
button.get_label and button.set_label("foo"). It
would give me warm,
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
2004 Mar 03
10
status?
Hi!
Is the wxruby project stalled?
ps: at least the list...
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" |
+-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
2004 Mar 30
12
Big question: Move to SWIG?
A few days ago, someone asked me why I am using wxpp instead of SWIG.
The question prompted me to revisit and re-evaluate SWIG, and I now
believe it would be best to convert wxRuby to SWIG.
SWIG has greatly improved its C++ support since the last time I looked
at it, and I think its Ruby support has improved quite a bit as well.
Also, now that I have written wxpp, I understand the nature of
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
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 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:
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
2003 Dec 13
5
Getting ready for 0.2 release
As I mentioned in October (wow, time moves quickly!), there are two big
items I would like to have in a 0.2 release of wxRuby:
1. Binary builds for as many platforms as possible
2. A document describing how to use the standard wxWindows/wxPython
documentation to develop wxRuby apps
In order for this to happen in any reasonable time frame, I will need
help. For those of you here who are not
2003 Oct 22
11
Survey results
Many thanks to the 23 people who took the time to respond to the survey.
It really will help me spend my time more effectively. As promised, here
are the results. I have inserted some comments inside [brackets].
1. Have you downloaded wxRuby?
YES 19
NO 4
2. Have you successfully built wxRuby?
YES 14
NO 8
[We really need binary downloads so people don''t have to build anything.
2004 Jan 08
3
pictorG
Hi!
Attached is the current version of my image organizing program.
If you dbl-click on a thumbnail, it will show the image (1:1 zoom) in a
dialog, and eat some memory....
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not
implemented
>> in wxRuby 0.3.0.
>I found to my surprise that this method is actually working, but only
in the
>example code that comes with wxRuby one-click install for Windows.
@combo.get_label seems to work for me.
See sample code below.
HTH,
Assaph
----- CODE -----
require ''wxruby''
2003 Nov 10
4
Ruby Browser for wxRuby
Hi, all.
I''m happy to introduce to you "Ruby Browser for wxRuby" ported from
Ruby-GNOME2 project.
I hope this tool will be very useful for wxRuby users.
You can download it at my website:
http://www.geocities.com/nobuaki.arima@sbcglobal.net/wxruby-en.html
If you have any question or comment, please let me know it.
Thanks,
--
Nobuaki Arima <narima1109@hotmail.com>
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:
2004 Apr 10
5
wxRuby-SWIG 0.0.3 is available
REMINDER: wxruby-swig is an experimental rewrite of wxRuby, using SWIG.
It is not yet useful. The official wxRuby is still at 0.2.1.
The 0.0.3 release of wxruby-swig is able to run the "minimal.rb" sample,
which includes menu event handling. As always, it is available at:
http://qualitycode.com/repos/wxruby-swig/
I also created a tarball this time, so you can just download that and
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:
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_layout
self.insert_column(0, "Name")
2003 Oct 25
9
Windows Compile Error
I''ve gotten a lot farther building wxRuby than I did a few months ago. But
its getting late here and I''m going to bed.
In the meantime, does anyone know why I''m getting this compile error:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -MD -Zi -O2b2xg- -G6