Class: SSHTunnel::UI::Windows::Tunnels::NewWindow
- Inherits:
-
Gtk::Window
- Object
- Gtk::Window
- SSHTunnel::UI::Windows::Tunnels::NewWindow
- Includes:
- Helpers::TunnelWindowHelper
- Defined in:
- lib/ssh-hull/ui/windows/tunnels/new_window.rb
Constant Summary
Constants included from Helpers::TunnelWindowHelper
Helpers::TunnelWindowHelper::FORM_BUTTONS, Helpers::TunnelWindowHelper::FORM_FIELDS
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application, window, tunnel) ⇒ NewWindow
constructor
A new instance of NewWindow.
Methods included from Helpers::TunnelWindowHelper
Methods included from Helpers::Common::FormHelper::InstanceMethods
#bind_submit_button, #form_object, #getter_for, #params, #red, #render_form_errors, #restore_form_value, #restore_form_values, #set_input_labels, #setter_for, #submit_form, #white
Constructor Details
#initialize(application, window, tunnel) ⇒ NewWindow
Returns a new instance of NewWindow.
25 26 27 28 29 30 |
# File 'lib/ssh-hull/ui/windows/tunnels/new_window.rb', line 25 def initialize(application, window, tunnel) super # Set window title set_title t('window.tunnel.new') end |
Class Method Details
.init ⇒ Object
14 15 16 17 18 |
# File 'lib/ssh-hull/ui/windows/tunnels/new_window.rb', line 14 def init # Set the template from the resources binary set_template resource: '/com/ungtb10d/ssh-hull/ui/tunnels/new_window.glade' super end |