I think it’s different with the one in pygtk. If I define a class with
member functions such as ‘on_window_destory’, how can I make the signal
‘destroy’ which defined in a gtkbuilder file(an xml file generated by
glade3) connect to the handler ‘on_window_destory’ automatically?
@builder = Builder.new
@builder << ‘ui/main.ui’
} @win = @builder.get_object 'window' @win.show_all