Can I override the run method? in the Gtk::Dialog (s)
if yes how??
Can I override the run method? in the Gtk::Dialog (s)
if yes how??
Not sure if this helps you but
class Gtk::Dialog
def run
puts “hi” # and do whatever else is needed
end
end
x = Gtk::Dialog.new
x.run
hi
Or use your own method which will do the things you want to see,
then invoke the original run?