Method: SWS::ImageButton#perform_action

Defined in:
lib/sws/Core/components/ImageButton/ImageButton.rb

#perform_actionObject

If the action has been set up (see #update_binding( key,value )) it is called now. Otherwise just nil is returned.



33
34
35
36
37
38
39
40
41
# File 'lib/sws/Core/components/ImageButton/ImageButton.rb', line 33

def perform_action ()

	if ( @action )
		return @action.call()
	else
		return nil
	end

end