Displaying 20 results from an estimated 7000 matches similar to: "evt_kill_focus"
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 Mar 31
15
Error: undefined method ''calc_min'' for #<Wx::IdleEvent>
Hi,
I occasionally had the following error when application in idle state.
Error: undefined method ''calc_min'' for #<Wx::IdleEvent:0xb115e44>
OS: WXMSW
Ruby Version: 1.8.6
wxRuby 2.0.0
Backtrace:
(eval):154:in `calc_min''
(eval):154:in `layout''
(eval):154:in `process_event''
(eval):154:in `on_run''
(eval):154:in
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
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 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
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:
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 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.
Another thing
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
<!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:
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:
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
2006 Dec 01
0
[766] trunk/wxruby2: Added item_data aliases for client_data functions, update doc & tests;
<!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 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 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@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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")
2007 Oct 28
2
Edit label in virtual listctrl
Hi,
I am testing a virtual listctrl, and have run into some problems with
changing the labels in it.
The listctrl shows a bunch of rows and columns, and it gets activate
events whenever I doubleclick on a cell. Works like a charm.
My problem comes when I call the edit_label method, specifically that I
think that I don't quite understand the argument passed to it (item as
integer). This
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:
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 Oct 03
0
IconBundle and ListView
Just two simple classes that seem to work without problem.
IconBundle allows you to associate multiple different-sized icons with a
frame, so you don''t get ugly rescaling when an icon is viewed in
taskbar, menubar or when alt-tabbing. Unfortunately I can''t test this
because OS X doesn''t use application icons in this way. The key methods
seem to return the right