tkgui.binding module

Handles control binding for the TKinter GUI.

tkgui.binding.bind(control, option, update_func=None)[source]

Binds a control to an option.

tkgui.binding.get(field)[source]

Returns the value of the control known as <field>. If multiple controls are bound, the earliest binding is used.

tkgui.binding.init(lnp, ui)[source]

Connect to LNP and TkGui instances.

tkgui.binding.update()[source]

Updates configuration displays (buttons, etc.).

tkgui.binding.version_has_option(field)[source]

Returns True if the current DF version has the provided field.