void JXWidget::NotifyFocusLost() { HandleUnfocusEvent(); if (itsFocusColor != itsBackColor) { Refresh(); } Broadcast(LostFocus()); }
void ui::UIRadioButtonGroup::NotifyFocusObtained(const std::shared_ptr<UIBase> &uiBase) { for (size_t i = 0; i < GetNumberOfElements(); ++i) { auto child = GetElement(i); if (uiBase != child) { child->LostFocus(); } } if (!GetParentContainer().expired()) { GetParentContainer().lock()->NotifyFocusObtained(shared_from_this()); } }
void MkWindowBaseNode::SendNodeCommandTypeEvent(ePA_SceneNodeEvent eventType, MkDataNode* argument) { switch (eventType) { case ePA_SNE_Activate: Activate(); break; case ePA_SNE_Deactivate: Deactivate(); break; case ePA_SNE_OnFocus: OnFocus(); break; case ePA_SNE_LostFocus: LostFocus(); break; } MkWindowThemedNode::SendNodeCommandTypeEvent(eventType, argument); }
//================================================================================================= void TeamPanel::Hide() { LostFocus(); visible = false; }
void Control::OnLostFocus(RoutedEventArgs* e) { LostFocus(this, e); }
void MutIconShapeClass<T>::OnKillFocus(wxFocusEvent & event) { TRACEC; LostFocus(); event.Skip(); }
void RenderWidget::focusOutEvent(QFocusEvent* /*event*/) { LostFocus(); }