Method: CWM::MultiSelectionBox#value=

Defined in:
library/cwm/src/lib/cwm/common_widgets.rb

#value=(val) ⇒ Object

Set widget value

Calling this method only make sense when the widget is displayed (see #displayed?).

Parameters:

  • val (Array<String>)

    IDs of newly selected items



250
251
252
# File 'library/cwm/src/lib/cwm/common_widgets.rb', line 250

def value=(val)
  Yast::UI.ChangeWidget(Id(widget_id), :SelectedItems, val)
end