similar to: FileDialog.i patch

Displaying 20 results from an estimated 10000 matches similar to: "FileDialog.i patch"

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 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,
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 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 Sep 24
2
Interesting Link...
http://visualwx.altervista.org/ A visual builder for wxWindows that purports to support Ruby. I''ll play with this some and see if I can design projects that work with wxRuby2. Roy
2006 Feb 17
7
Re: Problem building wxRuby: htmlproc.h not found
Hi, Has this problem been resolved? I encountered the same problem on my FC3 system with wxGTK-2.4.2 and wxruby-0.6. Thanks. Stephen [Wxruby-users] Re: Problem building wxRuby: htmlproc.h not found *Nick* devel at nicreations.com
2003 Aug 25
4
Re: ANN: wxRuby 0.1.0 Alpha has been released!
I''m not a Linux user. I suggest you subscribe to the wxRuby ML and get advice there from other Linux users. For the time being, I''ll cross-post this message to the wxRuby ML. Curt Markus Jais wrote: > > Curt Hibbs wrote: > > > http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46 > > > > The code itself has been quite stable for
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi, I am making a game with Ruby/SDL and have run into trouble finding a GUI to cooperate. I have seen numerous examples of wxWindows in combination with SDL (wxPython and PyGame), but have yet to be able to do it in ruby (PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame). I am not very good with wxRuby as this is my first time using it and thought some more knowledgable users
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
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 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
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from wxWindow.h. In order to make things right I had to make sure it was also declared in all the places where wxWindows also changes it. Also, in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see if it also applies
2006 Aug 27
1
wxWindow.h
I have basically spent a full day''s worth of time I could have spent working on something productive trying to figure out which function signature I changed that is causing wxRuby to crash. It just takes so long to recompile this from scratch and without dependencies you kind of have to when you change wxWindow.h. I updated a lot of signatures to match the wxWindows header file.
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
2003 Aug 22
1
README.mingw32
Hello to all! Since nobody replied and expressed desire to take over README.mingw32, I wrote short instructions how to build wxruby with MinGW compiler in MSYS environment. Considering that wxruby can be of interest to some Ruby users not so familiar with C++ and/or wxWindows (I''m one of them :-), I included some notes on installing MinGW & MSYS, building wxWindows library, Ruby ..
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
2006 Sep 27
3
Window.i
Does anyone know if the XRC hand-coded methods in Window.i are still required after my recent change to return the correct types? Also, given that wxWindow.h is included all over the place, I think we need to move some of that stuff out into a common .i that''s included for all wxWindow descendants. Roy
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
2004 Aug 05
2
libraries needed to distribute app
Hi I''m making an installer for my WxRuby app, using exerb. I''ve included wxruby.so in the package, and it seems to work fine on my computer, but are there any other dlls or whatever I''m likely to need, for example for WxWidgets itself? Cheers alex
2005 Sep 11
4
Handling int pointer parameters
There are several functions that take the parameters (int *x, int *y) In some cases x & y are simply return values. In some cases x & y are both input and output. How are we going to handle this properly? One method would be to change the header files to something like xin or xout. I don''t really like that method as it''ll break as soon as header files change.