Module: FX::RadioMutexInterface

Included in:
MenuPane, Popup, RadioMutex
Defined in:
lib/libGUIb16.rb,
lib/libGUIb14.rb

Instance Method Summary collapse

Instance Method Details

#add_radio_option(widget) ⇒ Object



393
394
395
# File 'lib/libGUIb16.rb', line 393

def add_radio_option widget
  @radioGroup << widget
end

#init_radio_mutexObject



388
389
390
391
# File 'lib/libGUIb16.rb', line 388

def init_radio_mutex
  @radioGroup = RadioGroup.new
  @radioGroup.on_event_selected { |r| event_selected(r) }
end

#selected_radioObject



397
398
399
# File 'lib/libGUIb16.rb', line 397

def selected_radio
  @radioGroup.selected
end