Пример #1
0
        internal WidgetApplicationLowMemorySignalType MemoryLowSignal()
        {
            WidgetApplicationLowMemorySignalType ret = new WidgetApplicationLowMemorySignalType(NDalicManualPINVOKE.WidgetApplication_LowMemorySignal(swigCPtr), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal WidgetImpl() : this(NDalicManualPINVOKE.WidgetImpl_New(), true)
 {
     SwigDirectorConnect();
 }
Пример #3
0
 internal FocusManager() : this(NDalicManualPINVOKE.new_FocusManager(), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #4
0
 /// <summary>
 /// Creates a new WidgetView.
 /// </summary>
 /// <since_tizen> 3 </since_tizen>
 public WidgetView(string widgetId, string contentInfo, int width, int height, float updatePeriod) : this(NDalicManualPINVOKE.WidgetView_New(widgetId, contentInfo, width, height, updatePeriod), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 internal FocusGroupChangedSignal FocusGroupChangedSignal()
 {
     FocusGroupChangedSignal ret = new FocusGroupChangedSignal(NDalicManualPINVOKE.FocusManager_FocusGroupChangedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #6
0
 internal ViewSignal FocusedViewEnterKeySignal()
 {
     ViewSignal ret = new ViewSignal(NDalicManualPINVOKE.FocusManager_FocusedActorEnterKeySignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #7
0
 internal bool GetFocusGroupLoop()
 {
     bool ret = NDalicManualPINVOKE.FocusManager_GetFocusGroupLoop(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #8
0
 /// <summary>
 /// Clears the focus from the current focused view if any, so that no view is focused in the focus chain.<br />
 /// It will emit the FocusChanged event without the current focused view.<br />
 /// </summary>
 /// <since_tizen> 3 </since_tizen>
 public void ClearFocus()
 {
     NDalicManualPINVOKE.FocusManager_ClearFocus(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #9
0
 internal static FocusManager Get()
 {
     FocusManager ret = new FocusManager(NDalicManualPINVOKE.FocusManager_Get(), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #10
0
 internal void SetFocusGroupLoop(bool enabled)
 {
     NDalicManualPINVOKE.FocusManager_SetFocusGroupLoop(swigCPtr, enabled);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #11
0
 /// <summary>
 /// Checks whether the view is set as a focus group or not.
 /// </summary>
 /// <param name="view">The view to be checked.</param>
 /// <returns>Whether the view is set as a focus group.</returns>
 /// <since_tizen> 3 </since_tizen>
 public bool IsFocusGroup(View view)
 {
     bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #12
0
 /// <summary>
 /// Sets whether the view is a focus group that can limit the scope of the focus movement to its child views in the focus chain.<br />
 /// Layout controls set themselves as focus groups by default.<br />
 /// </summary>
 /// <param name="view">The view to be set as a focus group.</param>
 /// <param name="isFocusGroup">Whether to set the view as a focus group or not.</param>
 /// <since_tizen> 3 </since_tizen>
 public void SetAsFocusGroup(View view, bool isFocusGroup)
 {
     NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #13
0
 /// <summary>
 /// Move the focus to previous focused view.
 /// </summary>
 /// <since_tizen> 3 </since_tizen>
 public void MoveFocusBackward()
 {
     NDalicManualPINVOKE.FocusManager_MoveFocusBackward(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #14
0
 internal WidgetImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.WidgetImpl_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #15
0
 internal void SetFocusIndicatorView(View indicator)
 {
     NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, View.getCPtr(indicator));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #16
0
 /// <summary>
 /// Emits the signal.
 /// </summary>
 /// <param name="arg1">The first value to pass to callbacks</param>
 /// <param name="arg2">The second value to pass to callbacks</param>
 /// <returns>The value returned by the last callback, or a default constructed value if no callbacks are connected</returns>
 /// <since_tizen> 5 </since_tizen>
 public InputMethodContext.CallbackData Emit(InputMethodContext arg1, InputMethodContext.EventData arg2)
 {
     InputMethodContext.CallbackData ret = new InputMethodContext.CallbackData(NDalicManualPINVOKE.KeyboardEventSignalType_Emit(swigCPtr, InputMethodContext.getCPtr(arg1), InputMethodContext.EventData.getCPtr(arg2)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Пример #17
0
 /// <summary>
 /// Moves the focus to the next focusable view in the focus chain in the given direction (according to the focus traversal order).
 /// </summary>
 /// <param name="direction">The direction of the focus movement.</param>
 /// <returns>True if the movement was successful.</returns>
 /// <since_tizen> 3 </since_tizen>
 public bool MoveFocus(View.FocusDirection direction)
 {
     bool ret = NDalicManualPINVOKE.FocusManager_MoveFocus(swigCPtr, (int)direction);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }