I am having a horrible time finding data that I need to learn ruby and
wxruby. I even downloaded the source in order to try to use the
Windows
Search tools on it.
For Instance, the printing.rb sample starts with
WXPRINT_QUIT = WX::ID_EXIT
Using Windows to search the supposed source I do not find any string
ID_EXIT
in any file.
Later in the printing.rb sample one finds the following code snippet
I may have the wrong source. Where do I get the right source?
Looking at the documentation on line is very frustrating. Can this
documentation by downloaded and read with some tool?
Later
At least the documentation for the Font constants can be found in the
online docs: http://wxruby.rubyforge.org/doc/font.html (right at the
top).
Regarding the various ID_* constants you can do this (assuming Ruby
1.9):
I am having a horrible time finding data that I need to learn ruby and
wxruby. I even downloaded the source in order to try to use the Windows
Search tools on it.
For Instance, the printing.rb sample starts with
WXPRINT_QUIT = WX::ID_EXIT
Using Windows to search the supposed source I do not find any string ID_EXIT
in any file.
Most wxRuby definitions (classes, constants) come from wxWidgets C++
source code.
So you will not see them as Ruby definitions in .rb files.
SWIG is the glue that makes C++ definitions appears as Ruby definitions.
So you need to look for C++ header files included in SWIG interface
files (.i).
Looking at the documentation on line is very frustrating. Can this
documentation by downloaded and read with some tool?