Displaying 20 results from an estimated 200 matches similar to: "TreeCtrl background?"
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
You had me looking in TreeCtrl at first with the previous subject line :)
I too got an error and do not see an obvious reason, Kevin or Roy may
have a better idea as they are better with SWIG than I am.
You may want to put some printf''s in the generated TextCtrl.cpp file
within the SetDefaultStyle method and find where it is crashing.
The error in Mac OS X is:
test.rb:15:in
2007 Apr 12
9
taille de caractère
en fait je vous renvoi ce message car maintenant la taille de la police change au bout de 500 lignes environ, alors que j''avais reussi à garder la taille jusqu''à environ 5000 lignes.
Je ne comprend pas. Est-ce que c''est instable?
le bout de code que vous m''avez envoyer ne marche pas.
merci
Sebastien
_______________________________________________
wxruby-users
2007 Apr 12
1
(no subject)
Bonjour. Je n''ai pas encore eu l''occasion d''utiliser TE_RICH2 en plus de TE_RICH | TE_MULTILINE, je compte l''essayé.
Pour rentrer le texte dans TextCtrl j''utilise : @dou << texte
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Aug 24
1
New wxTextAttr.h
When I was trying to find the problem Mark Ping was having with
set_default_style in TextCtrl I thought the problem might have been
with wxTextAttr, it was not but I updated the .h file in the process.
Because the file has changed so much from the last version I am
uploading the whole file.
Note that the change is not just the removal of comments some of the
method signatures have changed with wx
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on
wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very
useful over the years. It''s great to finally have a multi-platform, gem
installable ui toolkit that doesn''t suck!
Secondly, thanks also for wx-sugar. I was drowning in sizers and started
to write my own layout library ... but
2005 Oct 06
9
Grid.GetTextExtent
Wow. Look what SWIG does to GetTextExtent in Grid.cpp:
void SwigDirector_wxGrid::GetTextExtent(wxString const &string, int *x,
int *y, int *descent, int *externalLeading, wxFont const *font) const {
...
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = rb_str_new2((const char *)(&string)->mb_str());
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken
on Windows now. I''m trying to determine what the cause is. Mostly it
seems related to the initialize function not being created when it
should be.
Case in point: ClientDC.i
The caret example won''t work at all because initialize isn''t declared
any longer. If you comment out the import
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2007 Jul 21
0
[1138] trunk/wxruby2/samples/html/html.rb: Place HTMLWindow in a panel so gets correct bg color on MSW
<!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:
2011 Jan 12
2
RNetCDF: retrieving variable names and units
Dear List,
does anybody has experience with the RNetCDF package? I manage to open a connection and copy data from a ncdf file but would need a way to automatically retrieve variable names (ideally all of them from one file) and units from the file.
Any ideas?
Jannis
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
<!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 Mar 21
4
Bug in TextCtrl constructor
Howdy,
I''ve uncovered a bug in the constructor for TextCtrl (originally
uncovered while using WxSugar but it appears to apply to WxRuby itself
as well). Here''s the output from irb:
# ------
irb(main):001:0> require ''wx'';
irb(main):002:0* ctl =
2007 Apr 18
5
Turning off spell checker in TextCtrl
Hi,
I''m running WxRuby2 on Mac OS X. Something is spell checking the text
that I put into it; words it doesn''t recognize get an annoying red
line under them. How can I turn the spell checker off?
Thanks,
Paul
2008 Jan 14
4
Focus on TextCtrl
Hello.
I have a problem with set focus on a TextCtrl in wxRuby.
I must do something like
Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.
--
Posted via http://www.ruby-forum.com/.
2003 Nov 06
4
wxWindows 2.4.2
My system just upgraded itself to wxGtk 2.4.2. I re-built everything,
and had no compile errors. The minimal sample worked fine. I haven''t had
a chance to do more testing.
But, it appears that wxruby is compatible with wxWindows 2.4.2.
Kevin
2007 Jun 17
2
Wx::TextCtrl and wxMSW
Hey Alex,
Found a solution to the problem that was occuring with wxMSW and the
Wx::TextCtrl, have yet to verify that this will work in linux, but my little
trick to the matter, was simple, thanks to the things that are provided with
both Wx::TextCtrl, and Wx::Window classes.
I''m providing this bit of information for thoes who may have trouble with
dealing with Wx::TextCtrl, _AND_ have
2004 Sep 01
2
wxruby swig progress
I''ve checked a number of new .i files into the wxruby-swig tree. Not all
of them are fully tested, but I thought it would be better for them to
be there than to have somebody start duplicating the work. I''ve also
added the ''caret'' and ''image'' samples, as well as the generic etc/test.rb.
These need the unreleased SWIG-1.3.22. The current
2007 Sep 03
1
API survey results & update
Thanks to everyone who voted in the API style survey. We had 10 votes
altogether - we''re not electing the prime minister, after all - but it
was decisively a yes. 90% (9/10) supported adding keyword constructors,
and 77% (7/9) ruby-style accessors. The changes are summarised at the
bottom of the email.
We hope to have a 1.9.1 release incorporating these in the next week or
two.
2006 Feb 19
1
TextCtrl width
What''s the best way to specify the width of a TextCtrl in characters
instead of pixels?
--
R. Mark Volkmann
Partner, Object Computing, Inc.