Ejemplo n.º 1
0
 /// <summary>
 /// Sets the display state of popup.<br />
 /// There are 4 total display states.<br />
 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br />
 /// <br />
 /// The other two states are getable, but not setable, and are there for consistency.<br />
 /// <br />
 /// | Value    | Setting the state              | Getting the state              |<br />
 /// |----------|--------------------------------|--------------------------------|<br />
 /// | SHOWN    | Show the popup                 | The popup is fully shown       |<br />
 /// | HIDDEN   | Hide the popup                 | The popup is fully hidden      |<br />
 /// | SHOWING  |                                | The popup is transitioning in  |<br />
 /// | HIDING   |                                | The popup is transitioning out |<br />
 /// <br />
 /// All 4 states changes cause notifications via 4 respective signals that can be connected to.<br />
 /// </summary>
 /// <param name="displayState">The desired display state to change to.</param>
 /// <since_tizen> 3 </since_tizen>
 public void SetDisplayState(Popup.DisplayStateType displayState)
 {
     NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 internal Popup.DisplayStateType GetDisplayState()
 {
     Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }