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.


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.


Updates configuration displays (buttons, etc.).


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