Displaying 9 results from an estimated 9 matches for "set_text".
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 Mar 19
3
system-display-config doesn't run right
...system-config-display/xconf.py", line 380, in ?
dialog = xConfigDialog.XConfigDialog(hardware_state, xconfig,
rhpl.videocard.VideoCardInfo())
File "/usr/share/system-config-display/xConfigDialog.py", line 566, in
__init__
self.xml.get_widget("secondMonitorLabel").set_text(monitor_list[1].model
name)
TypeError: GtkLabel.set_text() argument 1 must be string, not None
I seem to be missing an argument from the call, but I'm not sure what
goes there, and even so, when I run it from the menu, shouldn't it have
the right data and run?
Thanks.
Mark Hull...
2010 Oct 06
2
Regression bug in latest Wine?
...eferredSize (Size proposed) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Label.CalcAutoSize () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Label.OnTextChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.set_Text (System.String value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Label.set_Text (System.String value) [0x00000] in <filename unknown>:0
at KeepFocused.KeepFocusedForm.InitializeComponent () [0x00000] in <filename unknown>:0
at KeepFocused.KeepFocusedForm..c...
2005 Oct 07
2
InPlaceEditor
Hi all,
I was wondering if I could get some help with using Ajax.InPlaceEditor.
I want to use loadTextURL to get the text, as it says on the bottom of
the documents ''How to edit server side formatted text (formatted with
eg. textile)''. My question is how do I know which inplaceedit I''ve
clicked? So that I know which id I need to get the text from in the
mysql
2014 Aug 14
1
virt-manager/ GTK & py issue
...s.set_dev(gfx)
File "/usr/share/virt-manager/virtManager/gfxdetails.py", line 197, in set_dev
uiutil.set_combo_entry(self.widget("graphics-type"), gtype, 0)
File "/usr/share/virt-manager/virtManager/uiutil.py", line 140, in
set_combo_entry
combo.get_child().set_text(value or "")
TypeError: Must be string, not TreeModelRow
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
2009 Jan 29
6
Control Characters
I am attempting a text editor using wxRuby. I''m having character issues.
Strings are not binary-safe.
Some characters are not allowed.
- newline / line feed (\n), tab (\t) are displayed
- carraige return (\r) is stripped
- Other control characters and high-ascii cause control values to become
empty.
Affected controls include: Wx::TextCtrl, Wx::StaticText, Wx::Clipboard,
et al.
Most
2005 Mar 14
11
[Fwd: Re: Help a newbie pick a gui tool kit]
Hey Guys,
This just came over the rubytalk list. Does anybody have any Debian
experience?
BTW, one thing this project *really* could use is people to package
wxruby for <your distro here>. You don''t need SWIG/C++ experience for
it, and a little work could help a lot of people.
Nick
-------- Original Message --------
Subject: Re: Help a newbie pick a gui tool kit
Date: Sun, 13
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up