This class provides a way to store UI input elements by name so that they can be retrieved later on.
More...
This class provides a way to store UI input elements by name so that they can be retrieved later on.
Basically, this is a dictionary, but elements can be added or accessed using the dot notation direclty. This is simply for convenience - so we don't have to pass a bunch of UI inputs around between methods in UI code for doing things like validation/retrieving user input. For example:
3 form.my_entrybox = gtk.EntryBox(...)
4 form.my_spinner = gtk.SpinButton(...)
7 def process_form(form):
8 text_input = form.my_entrybox.get_text()
9 int_input = form.my_spinner.get_int_value()
Definition at line 20 of file form.py.