Old Widget Version, Disable for certain period of time.

I am using the older widget api, I am just wondering is there a way to disable a button from being pressed again until a certain amount of time has elapsed