class HardwareInformation::GUI::Gtk::MountedHarddiscs
Public Class Methods
new( commandline_arguments = ARGV, run_already = true )
click to toggle source
#¶ ↑
initialize¶ ↑
#¶ ↑
Calls superclass method
# File lib/hardware_information/gui/gtk3/mounted_harddiscs/mounted_harddiscs.rb, line 29 def initialize( commandline_arguments = ARGV, run_already = true ) super(:vertical) reset set_commandline_arguments( commandline_arguments ) run if run_already end
run( i = ARGV )
click to toggle source
#¶ ↑
HardwareInformation::GUI::Gtk::MountedHarddiscs.run
¶ ↑
#¶ ↑
# File lib/hardware_information/gui/gtk3/mounted_harddiscs/mounted_harddiscs.rb, line 87 def self.run( i = ARGV ) require 'gtk_paradise/app/app.rb' _ = ::HardwareInformation::GUI::Gtk::MountedHarddiscs.new(i) r = ::Gtk.run r << _ r.automatic_size_then_automatic_title r.enable_quick_exit r.top_left_then_run end
Public Instance Methods
connect_skeleton()
click to toggle source
create_skeleton()
click to toggle source
reset()
click to toggle source
#¶ ↑
reset (reset tag)¶ ↑
#¶ ↑
# File lib/hardware_information/gui/gtk3/mounted_harddiscs/mounted_harddiscs.rb, line 44 def reset reset_the_internal_variables infer_the_namespace # ======================================================================= # # === @configuration # ======================================================================= # @configuration = [true, __dir__, namespace?] # ======================================================================= # # === Set the title, width, height and the font in use. # ======================================================================= # title_width_height_font(TITLE, WIDTH, HEIGHT, USE_THIS_FONT) use_gtk_paradise_project_css_file infer_the_size_automatically reset_the_shared_module end