Displaying 1 result from an estimated 1 matches for "read_bool".
Did you mean:
read_body
2005 Jul 27
2
SWIGging ConfigBase
...ite an .i file for ConfigBase. If I can figure out a few
general SWIG things then I think most of it will work. Apols for the
noob swig questions.
The C++ class has lots of overloaded methods called Read, which return
different kinds of values. In wxruby-not-swig these are implemented as
read, read_bool, read_int and so on. read() means read_string(). In ruby
the methods read
config_value = conf.read_bool(key, default)
but in C++ it''s
bool Read(const wxString& key , bool* d , bool defaultVal ) const;
There''s also versions that receive just two arguments, the key and...