From kde-core-devel Tue Nov 11 13:02:41 2003 From: Richard Dale Date: Tue, 11 Nov 2003 13:02:41 +0000 To: kde-core-devel Subject: Re: deeper freeze and kdebindings X-MARC-Message: https://marc.info/?l=kde-core-devel&m=106855652430196 On Tuesday 11 November 2003 12:13, Guillaume Laurent wrote: > On Tuesday 11 November 2003 12:42, Richard Dale wrote: > > But now I really think the QtRuby bindings are getting to the stage > > where they 'just work' > > YES! That's the good news of the day, thank you for your work on this :-). Thanks, here's an example program to show what KDE programming looks like in ruby: require 'Korundum' class MyWidget < KDE::PushButton k_dcop 'mySlot()' def initialize(parent, name) super(parent, name) end def mySlot() puts "In mySlot" end end about = KDE::AboutData.new("dcopslot", "two", "three") KDE::CmdLineArgs.init(1, ["dcopslot"], about) a = KDE::Application.new() hello = MyWidget.new(nil, "foobar") { setText "Hello World" } a.mainWidget = hello hello.show() a.exec()