validate_callback_data#

pygam.callbacks.validate_callback_data(method)[source]#

Wraps a callback’s method to pull the desired arguments from the vars dict also checks to ensure the method’s arguments are in the vars dict.

Parameters:
methodcallable
Returns:
validated callable