Class: Y2Network::Widgets::WirelessTab

Inherits:
CWM::Tab
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_tab.rb

Overview

Tab for wireless specific stuff. Useful only for wireless cards

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ WirelessTab


32
33
34
35
36
# File 'src/lib/y2network/widgets/wireless_tab.rb', line 32

def initialize(builder)
  textdomain "network"

  @builder = builder
end

Instance Method Details

#contentsObject


42
43
44
45
46
47
48
49
50
51
52
# File 'src/lib/y2network/widgets/wireless_tab.rb', line 42

def contents
  VBox(
    VSpacing(0.5),
    Y2Network::Widgets::Wireless.new(@builder),
    VSpacing(0.5),
    Y2Network::Widgets::WirelessAuth.new(@builder),
    VSpacing(0.5),
    # TODO: wireless auth widget
    VStretch()
  )
end

#labelObject


38
39
40
# File 'src/lib/y2network/widgets/wireless_tab.rb', line 38

def label
  _("&Wireless Specific")
end