[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] qtruby WFlags bugs?
From:       Alexander Kellett <lypanov () kde ! org>
Date:       2004-06-29 8:02:39
Message-ID: 20040629080239.GA19611 () loki
[Download RAW message or body]

On Tue, Jun 29, 2004 at 01:09:42AM -0700, Ashley Winters wrote:
> --- jm <jm@transact.com.au> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic