

def GenerateCommand(self):
    super_cmds = super(MsgBox, self).GenerateCommand()
    cmds = []
    cmds.extend(['--button1', self._button1])
    if self._button2:
        cmds.extend(['--button2', self._button2])
    if self._button3:
        cmds.extend(['--button3', self._button3])
    if self._informative_text:
        cmds.extend(['--informative-text', self._informative_text])
    if self._float:
        cmds.append('--float')
    super_cmds.extend(cmds)
    return super_cmds

dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/cocoadialog.py MsgBox.GenerateCommand/original