pub type ActionFn = unsafe extern "C" fn(context: *const Context, frame: *mut Slot) -> bool;
Runs a button’s action in a copy of its frame, which it may change.