}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate bool TickCallbackDelegate(IntPtr data);
+ private delegate bool TickCallbackDelegate();
private EventHandlerWithReturnType<object, TickEventArgs, bool> _timerTickEventHandler;
private TickCallbackDelegate _timerTickCallbackDelegate;
{
if (_timerTickEventHandler == null)
{
- _timerTickCallbackDelegate = new TickCallbackDelegate(OnTick);
+ _timerTickCallbackDelegate = (OnTick);
TickSignal().Connect(_timerTickCallbackDelegate);
}
_timerTickEventHandler += value;
}
}
- private bool OnTick(IntPtr data)
+ private bool OnTick()
{
TickEventArgs e = new TickEventArgs();
/// <summary>
/// Gets/Sets the interval of the timer.
/// </summary>
+ /// <remarks>For setter, this sets a new interval on the timer and starts the timer. <br />
+ /// Cancels the previous timer.
+ /// </remarks>
/// <since_tizen> 4 </since_tizen>
public uint Interval
{
}
/// <summary>
- /// Sets a transparent window's visual state to opaque.
+ /// Sets a transparent window's visual state to opaque. <br />
+ /// If a visual state of a transparent window is opaque, <br />
+ /// then the window manager could handle it as an opaque window when calculating visibility.
/// </summary>
/// <param name="opaque">Whether the window's visual state is opaque.</param>
+ /// <remarks>This will have no effect on an opaque window. <br />
+ /// It doesn't change transparent window to opaque window but lets the window manager know the visual state of the window.
+ /// </remarks>
/// <since_tizen> 3 </since_tizen>
public void SetOpaqueState(bool opaque)
{
/// Returns whether a transparent window's visual state is opaque or not.
/// </summary>
/// <returns>True if the window's visual state is opaque, false otherwise.</returns>
+ /// <remarks> The return value has no meaning on an opaque window. </remarks>
/// <since_tizen> 3 </since_tizen>
public bool IsOpaqueState()
{
/// <since_tizen> 5 </since_tizen>
/// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public void SetTransparency(bool transparent) {
+ public void SetTransparency(bool transparent)
+ {
NDalicManualPINVOKE.SetTransparency(swigCPtr, transparent);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}