Interop.Elementary.elm_run();
}
- /// <summary>
- /// Prepends a theme overlay to the list of overlays.
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static void ThemeOverlay()
{
Interop.Elementary.elm_theme_extension_del(IntPtr.Zero, item);
}
- /// <summary>
- /// Gets the amount of inertia a scroller imposes during region bring animations.
- /// </summary>
- /// <returns>The bring in scroll friction</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public static double GetSystemScrollFriction()
{
return BringInScrollFriction;
}
- /// <summary>
- /// Sets the amount of inertia a scroller imposes during region bring animations.
- /// </summary>
- /// <param name="timeSet">The bring in scroll friction</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public static void SetSystemScrollFriction(double timeSet)
{
BringInScrollFriction = timeSet;
}
- /// <summary>
- /// Gets Elementary's profile in use.
- /// </summary>
- /// <returns>The profile name</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public static string GetProfile()
{
return Interop.Elementary.elm_config_profile_get();
}
- /// <summary>
- /// Sets the global scaling factor.
- /// This sets the globally configured scaling factor that is applied to all objects.
- /// </summary>
- /// <param name="scale">The scaling factor to set</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public static void SetScale(double scale)
{
Scale = scale;
}
- /// <summary>
- /// Gets the global scaling factor.
- /// This gets the globally configured scaling factor that is applied to all objects.
- /// </summary>
- /// <returns>The scaling factor</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public static double GetScale()
{
/// Mouse In Event CallbackType.
/// </summary>
MouseIn,
+
/// <summary>
/// Mouse Out Event CallbackType
/// </summary>
MouseOut,
+
/// <summary>
/// Mouse Button Down Event CallbackType
/// </summary>
MouseDown,
+
/// <summary>
/// Mouse Button Up Event CallbackType
/// </summary>
MouseUp,
+
/// <summary>
/// Mouse Move Event CallbackType
/// </summary>
MouseMove,
+
/// <summary>
/// Mouse Wheel Event CallbackType
/// </summary>
MouseWheel,
+
/// <summary>
/// Multi-touch Down Event CallbackType
/// </summary>
MultiDown,
+
/// <summary>
/// Multi-touch Up Event CallbackType
/// </summary>
MultiUp,
+
/// <summary>
/// Multi-touch Move Event CallbackType
/// </summary>
MultiMove,
+
/// <summary>
/// Object Being Freed (Called after Del)
/// </summary>
Free,
+
/// <summary>
/// Key Press Event CallbackType
/// </summary>
KeyDown,
+
/// <summary>
/// Key Release Event CallbackType
/// </summary>
KeyUp,
+
/// <summary>
/// Focus In Event CallbackType
/// </summary>
FocusIn,
+
/// <summary>
/// Focus Out Event CallbackType
/// </summary>
FocusOut,
+
/// <summary>
/// Show Event CallbackType
/// </summary>
Show,
+
/// <summary>
/// Hide Event CallbackType
/// </summary>
Hide,
+
/// <summary>
/// Move Event CallbackType
/// </summary>
Move,
+
/// <summary>
/// Resize Event CallbackType
/// </summary>
Resize,
+
/// <summary>
/// Restack Event CallbackType
/// </summary>
Restack,
+
/// <summary>
/// Object Being Deleted (called before Free)
/// </summary>
Del,
+
/// <summary>
/// Hold Event CallbackType, Informational purpose event to indicate something
/// </summary>
Hold,
+
/// <summary>
/// Size hints changed Event CallbackType
/// </summary>
ChangedSizeHints,
+
/// <summary>
/// Image has been preloaded
/// </summary>
ImagePreloaded,
+
/// <summary>
/// Canvas got focus as a whole
/// </summary>
CanvasFocusIn,
+
/// <summary>
/// Canvas lost focus as a whole
/// </summary>
CanvasFocusOut,
+
/// <summary>
/// Called just before rendering is updated on the canvas target
/// </summary>
RenderFlushPre,
+
/// <summary>
/// Called just after rendering is updated on the canvas target
/// </summary>
RenderFlushPost,
+
/// <summary>
/// Canvas object got focus
/// </summary>
CanvasObjectFocusIn,
+
/// <summary>
/// Canvas object lost focus
/// </summary>
CanvasObjectFocusOut,
+
/// <summary>
/// Image data has been unloaded (by some mechanism in Evas that throw out original image data)
/// </summary>
ImageUnloaded,
+
/// <summary>
/// Called just before rendering starts on the canvas target
/// </summary>
RenderPre,
+
/// <summary>
/// Called just after rendering stops on the canvas target
/// </summary>
RenderPost,
+
/// <summary>
/// Image size is changed
/// </summary>
ImageResize,
+
/// <summary>
/// Devices added, removed or changed on canvas
/// </summary>
DeviceChanged,
+
/// <summary>
/// Axis is changed
/// </summary>
AxisUpdate,
+
/// <summary>
/// Canvas Viewport size is changed
/// </summary>
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type, SmartEventInfoParser parser) : this(sender, sender.Handle, type, parser)
{
}
- /// <summary>
- /// Creates and initializes a new instance of the EvasObjectEvent.
- /// </summary>
- /// <param name="sender">EvasObject class belong to</param>
- /// <param name="handle">EvasObject class's handle</param>
- /// <param name="type">EvasObjectCallbackType</param>
- /// <param name="parser">SmartEventInfoParser</param>
+
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type, SmartEventInfoParser parser)
{
_parser = parser;
sender.AddToEventLifeTracker(this);
}
+
/// <summary>
/// Creates and initializes a new instance of the EvasObjectEvent.
/// </summary>
public class EvasObjectEvent : IInvalidatable
{
private EvasObjectEvent<EventArgs> _evasObjectEvent;
+
private event EventHandler _handlers;
+
private bool _disposed = false;
/// <summary>
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type) : this(sender, sender.Handle, type)
{
}
- /// <summary>
- /// Creates and initializes a new instance of the EvasObjectEvent.
- /// </summary>
- /// <param name="sender">EvasObject class belong to</param>
- /// <param name="handle">EvasObject class's handle</param>
- /// <param name="type">EvasObjectCallbackTypes</param>
+
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type)
{
_evasObjectEvent.MakeInvalidate();
}
}
-}
+}
\ No newline at end of file
}
}
- /// <summary>
- /// Gets or sets the type of mouse pointer/cursor decoration to be shown, when the mouse pointer is over the given gengrid widget item.
- /// <remarks>
- /// The cursor's changing area is restricted to the item's area, and not the whole widget's. Note that that item cursors have precedence over widget cursors, so that a mouse over item will always show cursor type.
- /// </remarks>>
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Cursor
{
}
}
- /// <summary>
- /// Gets or sets custom cursor for gengrid item.
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override string CursorStyle
{
}
}
- /// <summary>
- /// Gets or sets whether to rely on the rendering engine.
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool IsUseEngineCursor
{
namespace ElmSharp
{
-
/// <summary>
/// The type of item's part type.
/// </summary>
}
}
- /// <summary>
- /// Gets or sets the type of mouse pointer/cursor decoration to be shown, when the mouse pointer is over the given genlist widget item.
- /// <remarks>
- /// The cursor's changing area is restricted to the item's area, and not the whole widget's. Note that that item cursors have precedence over widget cursors, so that a mouse over item will always show cursor type.
- /// </remarks>>
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Cursor
{
}
}
- /// <summary>
- /// Gets or sets custom cursor for genlist item.
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override string CursorStyle
{
}
}
- /// <summary>
- /// Gets or sets whether to rely on the rendering engine.
- /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool IsUseEngineCursor
{
IntPtr.Zero,
null);
}
-
}
}
\ No newline at end of file