Method: CWM::ValueBasedWidget#value=

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

#value=(val) ⇒ void

This method returns an undefined value.

Set widget value

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

Parameters:

  • val (Object)

    a value according to specific widget type



44
45
46
# File 'library/cwm/src/lib/cwm/common_widgets.rb', line 44

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