Displaying 3 results from an estimated 3 matches for "get_xxx".
2005 Feb 04
0
wxruby-swig update
...ike
> "set_label" be changed to a more Ruby-attribute-like "label=" syntax.
> Is this still being considered? I''m very much in favor of it, but I''m
> wondering how the switch will be handled. Would both sets of methods
> be kept, or would the get_xxx and set_xxx methods be dropped? In the
> case of the latter, I''m wondering if it would be good to consider this
> a basic part of the switchover to wxruby-swig.
Thats still the intention, but it probably won''t be until we get
wxruby-swig to match the wxruby functionality...
2005 Feb 04
8
wxruby swig update
Good news and bad news.
First he good news. wxruby-swig now compiles on Linux, Mac, and Windows
using wxWidgets 2.5. I just patched a bug with the paint method today,
but it''s getting very close to the first release of wxruby. With a
little more cleanup, I think we''re getting ready to do a first release
of it, which will hopefully replaced wxruby. Of course, the debug spew
2006 Sep 11
15
ruby method names
Hi
Attached is a patch that adds aliases to the API for methods that look
like attribute accessors. So
a_frame.set_title(''The title'') # currently
a_frame.title = ''The title'' # now an alternative
textctrl.get_value # currently
textctrl.value # now an alternative
Also, C++ methods named ''IsXXX'' are now exposed in ruby with