Re: [Fxruby-users] Why does it return FXRbTextField when I call 'getClassName()' on an FXTextField?
Status: Inactive
Brought to you by:
lyle
From: Joel V. <vj...@PA...> - 2004-01-08 07:20:49
|
Rich wrote: > Here's the code: > > require 'fox' > include Fox > theApp=FXApp.new > mainwin=FXMainWindow.new(theApp,"Test") > puts FXTextField.new(mainwin,20).getClassName() > theApp.create > mainwin.show(PLACEMENT_SCREEN) > theApp.run I dunno (maybe it has something to do with the way C++ classes are wrapped), but puts FXTextField.new(mainwin,20).class.name behaves in an unsurprising way. Hope that helps... |