class GtkApp::Controller

Attributes

model[RW]

@attribute [rw] model

view[RW]

@attr_accessor [rw] view

Public Class Methods

new(&block) click to toggle source
# File lib/gtk_app/controller.rb, line 11
def initialize(&block)
  instance_eval(&block) if block_given?

  establish_signal_connections
end

Public Instance Methods

quit(with_validations=true) click to toggle source

@param [Boolean] with_validations

# File lib/gtk_app/controller.rb, line 18
def quit(with_validations=true)
  # TODO: if with_validations
  # end
  GtkApp.quit
end