pub type PopupCallback = Option<unsafe extern "C" fn(context: *mut c_void)>;
Popup result callback type @warning comes from GUI thread