def input2_cb(pobj, data): notused, x, y = xfl.fl_get_input_cursorpos(pobj) msg = "INPUT2 - y=%d x=%d\n" % (y, x) print(msg)
def input_cb(pobj, data): notused, x, y = xfl.fl_get_input_cursorpos(pobj) msg = "INPUT - x=%d y=%d\n" % (x, y) print(msg)