Method: GtkApp::View#initialize

Defined in:
lib/gtk_app/view.rb

#initialize(controller, builder_file, *args) ⇒ View



8
9
10
11
12
13
14
15
# File 'lib/gtk_app/view.rb', line 8

def initialize(controller, builder_file, *args)
  super()
  # options = args.extract_options!
  self.add_from_file(builder_file)
  self.connect_signals { |handler| controller.method(handler) }

  # self.title = options[:title] if options.key?(:title)
end