Displaying 20 results from an estimated 7000 matches similar to: "Re: how to use Chinese Characters in wxRuby?"
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2005 Jul 20
1
wxr2 build error CVS HEAD on OS x
Hi
I''m getting a build error with the current cvs HEAD of wxruby-swig. Perh
something to do with the unicode changes?
OS X 10.3
WxMAC 2.6.0
ruby 1.8.2
thanks
alex
g++ -c -I/usr/local/lib/wx/include/mac-ansi-release-static-2.6
-I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -fno-common -pipe -fno-common -x
objective-c++ -I
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
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
2007 Sep 05
6
centering MessageDialog
Hi,
is there any way to center the default Wx::MessageDialog or Wx::message_box
on parent (owner) instead of screen?
I haven''t found any constant other than Wx::DEFAULT_POSITION.
thanks for your help.
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jul 20
8
Wx::StaticText
Salut alex.
J''ai une question a propos de wx::statictext(wxruby2)
est-il possible de mettre les accents pour la langue française?, car pour l''instant je ne peut pas mettre l''accentuation alors que ça marche bien avec "wxruby".
merci
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2007 Nov 07
1
Wx::FileDialog and common dialogs
The documentation for Wx::FileDialog is incorrectly generated:
http://wxruby.rubyforge.org/doc/filedialog.html
Every time the ''*'' (for the wildcard character in file filters) appears,
the doc instead switches between boldface and normal.
Also, it seems like the links under "See also" are broken.
Feature request:
Regarding all modal common dialogs (ColourDialog,
2005 Aug 12
5
Functions that return objects...
I was investigating why the find dialog causes an error when you close
it. It seems that wxRuby2 is returning a new ruby object when you call
Event.get_dialog. This causes some big problems when you''re expecting
you''re going to get back the same ruby pointer that you put in. In a
brief check over the source I don''t see anything that preserves the
original ruby
2005 Aug 11
2
Patch file for FileDialog.i
Attached is a patch file for FileDialog.i. It doesn''t work 100% yet
because I haven''t yet figured out how to make it put the ruby
declarations in the right place. If I cut and paste the
rb_define_methods into the right place this works perfectly.
This patch fixes the dialogs.rb multiple select example so that
get_paths and get_filenames returns a ruby array. Note that I
2007 Nov 21
10
bugs
Bonjour tout le monde.
Parfois j''ai mon application qui se ferme toute seul et voila l''erreur qui apparaît: "Exit code: -1073741819"
Est-ce que quelqu''un peut m''expliquer ce que veut dire ce message d''erreur?
Je vous remercie.
sebastien
http://beusse.liveror.com
_______________________________________________
wxruby-users mailing list
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 -
2005 Sep 23
2
FileDialog.i patch
Here''s a patch for FileDialog.i. Seems we had never removed that #ifdef
in there.
wxWindows 2.6.2 works just fine on Windows. No other news.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of
errors of the sort:
WindowDisabler.obj : error LNK2001: unresolved external symbol
_SWIG_Ruby_ConvertPtr
I can see this is defined in rubydef.swg but I''m not sure why this isn''t
just included in the files that need it. Can any swig experts tell me
what I need to do to progress? I''m using
2007 Apr 13
2
who can give me an EvtHandler#connect example?
I read the api document online: http://wxruby.rubyforge.org/doc/evthandler.html
but still don''t know how to use it.
EvtHandler#connect
connect(Integer id, Integer lastId, EventType eventType,
ObjectEventFunction function,
Object userData = nil,
EvtHandler eventSink = nil)
the online doc''s example is write in C++:
frame->Connect( ID_EXIT,
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/
2007 May 19
1
Wx::FileDialog Styles are not working
The Constants for the Styles for FileDialog are not initialized to a value
and the class will not work without those, the Dialog will come up when you
call the show_modal method but the filenames are not showing up
I specifically need the values for
FD_OPEN
FD_SAVE
FD_OVERWRITE_PROMPT
FD_FILE_MUST_EXIST
but if I can''t get those then I''ll find a workaround
so far this has
2007 Sep 27
2
wxRuby Documentation / Textitle Docs
Hey All,
Just wanted to let you guys know, that with the HTML Generated
documentation from the Textile source code, does not show *''s in stuff
like Wx::FileDialog. It''s interpreting this as a Bold, not as an
Asterisk. Just thought you''d want to know that.
L8ers,
Mario Steele
2006 Oct 05
8
samples
What do you think about adding a shebang line to the samples so they can
be launched on linux/mac like you can on windows?
Roy
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
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