class CommandButton

Attributes

actionStr[RW]
ctrl[RW]

Public Class Methods

new(actionStr, ctrl) click to toggle source
Calls superclass method
# File lib/yasysdui/command_button.rb, line 7
def initialize(actionStr, ctrl)
   super(:label => actionStr)
   @ctrl = ctrl
   @actionStr = actionStr
   self.signal_connect("clicked") {@ctrl.execute(@actionStr)}
end