Class: Y2Network::Widgets::WirelessEssid

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

Overview

Widget to setup wifi network essid

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ WirelessEssid


31
32
33
34
# File 'src/lib/y2network/widgets/wireless_essid.rb', line 31

def initialize(settings)
  @settings = settings
  textdomain "network"
end

Instance Method Details

#contentsObject


36
37
38
39
40
41
42
43
44
# File 'src/lib/y2network/widgets/wireless_essid.rb', line 36

def contents
  HBox(
    essid,
    VBox(
      VSpacing(1),
      scan
    )
  )
end