How can I recieve the inputs from the GUI tools(tkinter or DirectGUI)?
use named parameters to set a callback function (or a lambda)
frame.addItem(DirectCheckButton(
text="sample button",
text_align=TextNode.A_left,
indicatorValue=1,
command=lambda k: print("value is now " + k)
))