Class: Bootloader::Grub2Widget::BootloaderTab
- Inherits:
-
CWM::Tab
- Object
- CWM::Tab
- Bootloader::Grub2Widget::BootloaderTab
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Represents bootloader specific options like its timeout, default section or password protection
Instance Method Summary collapse
Instance Method Details
#contents ⇒ Object
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 1175 def contents = HiddenMenuWidget.new VBox( VSpacing(2), HBox( HSpacing(1), TimeoutWidget.new(), HSpacing(1), VBox( , VSpacing(1), Left() ), HSpacing(1) ), VSpacing(1), MarginBox(1, 1, DefaultSectionWidget.new), MarginBox(1, 1, GrubPasswordWidget.new), VStretch() ) end |
#label ⇒ Object
1169 1170 1171 1172 1173 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 1169 def label textdomain "bootloader" _("Boot&loader Options") end |