Sha256: 803d1aa42d3f29203f76f844a681049e4d7426d61c5026928ad1cda73825d119
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 Bytes
Contents
# The main controller for the application. # # NOTE: This controller doesn't inherit from ApplicationController, instead, it # inherits from RuGUI::BaseMainController. Use it only as a starting point. # Commonly it is used only to register global models and controllers, as well as # the main view, but this is entirely up to you. class MainController < RuGUI::BaseMainController # Add your stuff here. def setup_views register_view :main_view end on :main_window, 'delete-event' do |widget, event| quit end end
Version data entries
12 entries across 12 versions & 2 rubygems