Exemple #1
0
 void AboutToReleaseFocus(Focusable focusable, Focusable willGiveFocusTo, FocusChangeDirection direction)
 {
     using (FocusOutEvent e = FocusOutEvent.GetPooled(focusable, willGiveFocusTo, direction, this))
     {
         focusable.SendEvent(e);
     }
 }
 private void AboutToReleaseFocus(Focusable focusable, Focusable willGiveFocusTo, FocusChangeDirection direction)
 {
     using (FocusOutEvent pooled = FocusEventBase <FocusOutEvent> .GetPooled(focusable, willGiveFocusTo, direction, this, false))
     {
         focusable.SendEvent(pooled);
     }
 }
Exemple #3
0
 void OnFocusOut(FocusOutEvent evt)
 {
     if (!m_ScrollView.ContainsPoint(m_MousePosition))
     {
         Hide();
     }
     else
     {
         // Keep the focus in.
         m_MenuContainer.schedule.Execute(contentContainer.Focus);
     }
 }
Exemple #4
0
 private void OnTextFieldFocusOut(FocusOutEvent evt)
 {
     UpdateTextFieldValue();
 }