class Pickaxe::ApplicationWindow

Pickaxe::ApplicationWindow < Gtk::ApplicationWindow

Public Class Methods

init() click to toggle source
# File lib/pickaxe/application_window.rb, line 13
def init
  GtkSource::View.init

  # Set template from a Glade UI file
  ui_file_path = File.expand_path('ui/application_window.ui', __dir__)
  ui_data = File.read ui_file_path
  set_template data: ui_data
end
new(application) click to toggle source
Calls superclass method
# File lib/pickaxe/application_window.rb, line 23
def initialize(application)
  super application: application
end