Browse Source

Merge branch 'master' of https://github.com/chriskiehl/Gooey

pull/61/head
chriskiehl 10 years ago
parent
commit
a3bef6e727
2 changed files with 3 additions and 2 deletions
  1. 3
      README.md
  2. 2
      gooey/gui/components.py

3
README.md

@ -1,6 +1,6 @@
Gooey (Beta)
=====
Turn (almost) any Console Program into a GUI application with one line
Turn (almost) any Python Console Program into a GUI application with one line
<p align="center">
<img src="https://raw.githubusercontent.com/chriskiehl/Gooey/master/resources/primary.png"/>
@ -45,6 +45,7 @@ Change Log
**Planned Features:**
- Language agnostic support -- a stand-alone Gooey to build other Gooies!
- docopt support -- The people demand it!
- Ability to customize widgets (e.g. FileChooser instead of TextBox)
- Stop/cancel button on run screen

2
gooey/gui/components.py

@ -301,7 +301,7 @@ class Choice(AbstractComponent):
if self._widget.GetValue() == self._DEFAULT_VALUE:
return None
return ' '.join(
[self._action.option_strings[0], # get the verbose copy if available
[self._action.option_strings[0] if self._action.option_strings else '', # get the verbose copy if available
self._widget.GetValue()])
def BuildInputWidget(self, parent, action):

Loading…
Cancel
Save