From kde-bindings Tue Jun 29 08:02:39 2004 From: Alexander Kellett Date: Tue, 29 Jun 2004 08:02:39 +0000 To: kde-bindings Subject: Re: [Kde-bindings] qtruby WFlags bugs? Message-Id: <20040629080239.GA19611 () loki> X-MARC-Message: https://marc.info/?l=kde-bindings&m=108849719902906 On Tue, Jun 29, 2004 at 01:09:42AM -0700, Ashley Winters wrote: > --- jm wrote: > > version: qtruby cvs 2004-06-22 > > > > example code, > > > > #!/usr/local/bin/ruby > > > > require 'Qt' > > > > a = Qt::Application.new(ARGV) > > > > b = Qt::PushButton.new("abutton",nil) > > a.setMainWidget(b) > > b.show() > > p a.getWFlags() #<-- bug here > ^ > > Can't do that on your Qt::App. Perhaps you meant b.getWFlags()? switch debugging on and qtruby will print out the possible methods. major time saver, i make the above sort of bugs constantly be it in ruby or c++ or newuberlanguagethatisperfect :P Alex _______________________________________________ Kde-bindings mailing list Kde-bindings@kde.org https://mail.kde.org/mailman/listinfo/kde-bindings