M
Martin Vales
Someone know like connect a signal inside a class??
I am working in ruby gnome, but i thinkl this is a ruby generic
question.
class One
def initialize(callback)
callback
end
end
class Main
def initialize
One.new("talk_with_me")
end
def talk_with_me
puts "i am here"
end
end
Here we can see a php5 doing the same:
http://phpexperts.blogspot.com/2007/05/splash-screens-with-php-gtk.html
thanks in advance.
I am working in ruby gnome, but i thinkl this is a ruby generic
question.
class One
def initialize(callback)
callback
end
end
class Main
def initialize
One.new("talk_with_me")
end
def talk_with_me
puts "i am here"
end
end
Here we can see a php5 doing the same:
http://phpexperts.blogspot.com/2007/05/splash-screens-with-php-gtk.html
thanks in advance.