Displaying 5 results from an estimated 5 matches for "obj0".
Did you mean:
obj
2005 Oct 06
9
Grid.GetTextExtent
...tExtent 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());
obj1 = SWIG_NewPointerObj(x, SWIGTYPE_p_int, 0);
result = rb_funcall(swig_get_self(), rb_intern("get_text_extent"),
2,obj0,obj1);
Wow. That''s just so wrong. It only converts two parameters and the one
it choose...
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken
on Windows now. I''m trying to determine what the cause is. Mostly it
seems related to the initialize function not being created when it
should be.
Case in point: ClientDC.i
The caret example won''t work at all because initialize isn''t declared
any longer. If you comment out the import
2006 Aug 15
0
Problem with directors and Ruby
...this the input parameter''s name and type gets confused with the
second parameter''s type (relevant lines from sample.cpp):
void SwigDirector_wxWindow::GetTextExtent(wxString const &string, int
*x, int *y, int *descent, int *externalLeading, wxFont const *font) const {
VALUE obj0 = Qnil ;
VALUE obj1 = Qnil ;
VALUE result;
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&string),
SWIGTYPE_p_wxString, 0 );
obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(x), SWIGTYPE_p_int,...
2011 Jan 12
2
RNetCDF: retrieving variable names and units
Dear List,
does anybody has experience with the RNetCDF package? I manage to open a connection and copy data from a ncdf file but would need a way to automatically retrieve variable names (ideally all of them from one file) and units from the file.
Any ideas?
Jannis
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s
is grey by default, and when I try to set the default style I get the error:
TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError)
from TestTextCtrl.rb:15:in `initialize''
from TestTextCtrl.rb:24:in