def GenerateCommand(self):
    super_cmds = super(DropDown, self).GenerateCommand()
    cmds = []
    if self._items:
      dropdown_items = ['--items']
      for item in self._items:
        dropdown_items.append(item)
      cmds.extend(dropdown_items)
    super_cmds.extend(cmds)
    return super_cmds
Class specific additions.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/cocoadialog.py/DropDown.GenerateCommand