Sha256: 41acd0646ac76847042fb1122e64993198403753335c10a964d42034309e3394
Contents?: true
Size: 806 Bytes
Versions: 2
Compression:
Stored size: 806 Bytes
Contents
# frozen_string_literal: true module SSHTunnel module UI module Windows module Hosts class EditWindow < Gtk::Window # Register the class in the GLib world type_register class << self def init # Set the template from the resources binary set_template resource: '/com/ungtb10d/ssh-hull/ui/hosts/edit_window.glade' super end end include SSHTunnel::UI::Helpers::HostWindowHelper def initialize(application, window, host) super # Set window title set_title t('window.host.edit', host: @host) # Fills input fields restore_form_values(@host) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ssh-hull-2.0 | lib/ssh-hull/ui/windows/hosts/edit_window.rb |
ssh-hull-1.0.0 | lib/ssh-hull/ui/windows/hosts/edit_window.rb |