third_party.geniegui module
The functions of the geniegui module examine an argparse.ArgumentParser object
and create a tkinter GUI for it that allows to edit in all option values.
The given default values are shown,
and by default optional options are disabled.
-
class
third_party.geniegui.
ArgparseGUI
(parser, mainmethod=None, guimaster=None, tkmaster=None, title=None, description=None)[source]
Bases: object
-
arguments
()[source]
-
create_final_buttons
()[source]
-
create_gui
(description=None)[source]
create tkinter GUI with a given TK ‘master’ object
from ArgumentParser object ‘parser’.
-
poll
()[source]
-
runcommand
(cmd)[source]
-
class
third_party.geniegui.
TextPipe
[source]
Bases: object
-
flush
()[source]
-
read
()[source]
-
write
(string)[source]
-
third_party.geniegui.
get_argument_parser
()[source]
interface for geniegui.py
-
third_party.geniegui.
main
(args=None)[source]
main function
-
third_party.geniegui.
main_buildparser
()[source]
-
third_party.geniegui.
newguiprocess
(tkmaster, processtitle, mainmethod, args)[source]
-
third_party.geniegui.
print_attributes
(obj)[source]
-
third_party.geniegui.
rungui
(args)[source]
-
third_party.geniegui.
runguiprocess
(mainmethod, arglist, thepipe)[source]
-
third_party.geniegui.
std_redirector
(stdin=None, stdout=None, stderr=None)[source]
-
third_party.geniegui.
test
()[source]