Searched refs:buttonEvent (Results 1 – 4 of 4) sorted by relevance
50 … const std::string txt, std::function<void(AlertDialog &, std::any)> &buttonEvent, std::any ctx) in SetButton() argument54 buttonEvent(log, ctx); in SetButton()
530 auto buttonEvent = closeButton->GetEventHub<ButtonEventHub>(); in SetCloseButtonStatus() local531 CHECK_NULL_VOID(buttonEvent); in SetCloseButtonStatus()532 buttonEvent->SetEnabled(isEnabled); in SetCloseButtonStatus()
1398 auto buttonEvent = closeButton->GetEventHub<ButtonEventHub>(); variable1399 CHECK_NULL_VOID(buttonEvent);1405 EXPECT_EQ(buttonEvent->IsEnabled(), true);1411 EXPECT_EQ(buttonEvent->IsEnabled(), false);
379 auto buttonEvent = buttonNode->GetEventHub<ButtonEventHub>(); in InitTitleBarButtonEvent() local380 CHECK_NULL_VOID(buttonEvent); in InitTitleBarButtonEvent()381 buttonEvent->SetEnabled(isButtonEnabled); in InitTitleBarButtonEvent()