summaryrefslogtreecommitdiff
path: root/ElmSharp
diff options
context:
space:
mode:
Diffstat (limited to 'ElmSharp')
-rwxr-xr-xElmSharp/ElmSharp/Window.cs637
-rwxr-xr-x[-rw-r--r--]ElmSharp/Interop/Interop.Elementary.Win.cs236
2 files changed, 846 insertions, 27 deletions
diff --git a/ElmSharp/ElmSharp/Window.cs b/ElmSharp/ElmSharp/Window.cs
index 5025e4b..d3628f3 100755
--- a/ElmSharp/ElmSharp/Window.cs
+++ b/ElmSharp/ElmSharp/Window.cs
@@ -30,14 +30,17 @@ namespace ElmSharp
/// Rotation value of window is 0 degree
/// </summary>
Degree_0 = 1,
+
/// <summary>
/// Rotation value of window is 90 degree
/// </summary>
Degree_90 = 2,
+
/// <summary>
/// Rotation value of window is 180 degree
/// </summary>
Degree_180 = 4,
+
/// <summary>
/// Rotation value of window is 270 degree
/// </summary>
@@ -45,7 +48,7 @@ namespace ElmSharp
};
/// <summary>
- /// Enum indicator opacity
+ /// Enumeration for the indicator opacity
/// </summary>
public enum StatusBarMode
{
@@ -78,7 +81,7 @@ namespace ElmSharp
}
/// <summary>
- /// Indicator mode.
+ /// Enumeration for the indicator mode.
/// </summary>
public enum IndicatorMode
{
@@ -86,10 +89,12 @@ namespace ElmSharp
/// Unknown indicator state.
/// </summary>
Unknown = 0,
+
/// <summary>
/// Hides the indicator.
/// </summary>
Hide,
+
/// <summary>
/// Shows the indicator.
/// </summary>
@@ -97,6 +102,190 @@ namespace ElmSharp
};
/// <summary>
+ /// Enumeration for the keyboard mode
+ /// </summary>
+ public enum KeyboardMode
+ {
+ /// <summary>
+ /// Unknown keyboard state
+ /// </summary>
+ Unknown,
+
+ /// <summary>
+ /// Request to deactivate the keyboard
+ /// </summary>
+ Off,
+
+ /// <summary>
+ /// Enable keyboard with default layout
+ /// </summary>
+ On,
+
+ /// <summary>
+ /// Alpha (a-z) keyboard layout
+ /// </summary>
+ Alpha,
+
+ /// <summary>
+ /// Numeric keyboard layout
+ /// </summary>
+ Numeric,
+
+ /// <summary>
+ /// PIN keyboard layout
+ /// </summary>
+ Pin,
+
+ /// <summary>
+ /// Phone keyboard layout
+ /// </summary>
+ PhoneNumber,
+
+ /// <summary>
+ /// Hexadecimal numeric keyboard layout
+ /// </summary>
+ Hex,
+
+ /// <summary>
+ /// Full (QWERTY) keyboard layout
+ /// </summary>
+ QWERTY,
+
+ /// <summary>
+ /// Password keyboard layout
+ /// </summary>
+ Password,
+
+ /// <summary>
+ /// IP keyboard layout
+ /// </summary>
+ IP,
+
+ /// <summary>
+ /// Host keyboard layout
+ /// </summary>
+ Host,
+
+ /// <summary>
+ /// File keyboard layout
+ /// </summary>
+ File,
+
+ /// <summary>
+ /// URL keyboard layout
+ /// </summary>
+ URL,
+
+ /// <summary>
+ /// Keypad layout
+ /// </summary>
+ Keypad,
+
+ /// <summary>
+ /// J2ME keyboard layout
+ /// </summary>
+ J2ME,
+ };
+
+ /// <summary>
+ /// Enumeration for the window type
+ /// </summary>
+ public enum WindowType
+ {
+ /// <summary>
+ /// Unknown
+ /// </summary>
+ Unknown,
+
+ /// <summary>
+ /// A normal window. Indicates a normal, top-level window. Almost every window will be created with this type.
+ /// </summary>
+ Basic,
+
+ /// <summary>
+ /// Used for simple dialog windows.
+ /// </summary>
+ Dialog,
+
+ /// <summary>
+ /// For special desktop windows, like a background window holding desktop icons.
+ /// </summary>
+ Desktop,
+
+ /// <summary>
+ /// The window is used as a dock or panel. Usually would be kept on top of any other window by the Window Manager.
+ /// </summary>
+ Dock,
+
+ /// <summary>
+ /// The window is used to hold a floating toolbar, or similar.
+ /// </summary>
+ Toolbar,
+
+ /// <summary>
+ /// Similar to Toolbar.
+ /// </summary>
+ Menu,
+
+ /// <summary>
+ /// A persistent utility window, like a toolbox or palette.
+ /// </summary>
+ Utility,
+
+ /// <summary>
+ /// Splash window for a starting up application.
+ /// </summary>
+ Splash,
+
+ /// <summary>
+ /// The window is a dropdown menu, as when an entry in a menubar is clicked.
+ /// </summary>
+ DropdownMenu,
+
+ /// <summary>
+ /// Like DropdownMenu, but for the menu triggered by right-clicking an object.
+ /// </summary>
+ PopupMenu,
+
+ /// <summary>
+ /// The window is a tooltip. A short piece of explanatory text that typically appear after the mouse cursor hovers over an object for a while.
+ /// </summary>
+ Tooltip,
+
+ /// <summary>
+ /// A notification window, like a warning about battery life or a new E-Mail received.
+ /// </summary>
+ Notification,
+
+ /// <summary>
+ /// A window holding the contents of a combo box.
+ /// </summary>
+ Combo,
+
+ /// <summary>
+ /// Used to indicate the window is a representation of an object being dragged across different windows, or even applications.
+ /// </summary>
+ DragAndDrop,
+
+ /// <summary>
+ /// The window is rendered onto an image buffer. No actual window is created for this type, instead the window and all of its contents will be rendered to an image buffer.
+ /// This allows to have children window inside a parent one just like any other object would be, and do other things like applying Evas_Map effects to it.
+ /// </summary>
+ InlinedImage,
+
+ /// <summary>
+ /// The window is rendered onto an image buffer and can be shown other process's plug image object.
+ /// No actual window is created for this type, instead the window and all of its contents will be rendered to an image buffer and can be shown other process's plug image object.
+ /// </summary>
+ SocketImage,
+
+ /// <summary>
+ /// This window was created using a pre-existing canvas. The window widget can be deleted, but the canvas must be managed externally.
+ /// </summary>
+ Fake,
+ };
+
+ /// <summary>
/// The Window is container that contain the graphical user interface of a program.
/// </summary>
public class Window : Widget
@@ -127,9 +316,31 @@ namespace ElmSharp
/// When closing the window in any way outside the program control,
/// and set callback when window rotation changed.
/// </remarks>
- public Window(Window parent, string name)
+ public Window(Window parent, string name) : this(parent, name, WindowType.Basic)
+ {
+ }
+
+ /// <summary>
+ /// Creates and initializes a new instance of the Window class.
+ /// </summary>
+ /// <param name="parent">
+ /// Parent widget which this widow created on.
+ /// </param>
+ /// <param name="name">
+ /// Window name.
+ /// </param>
+ /// <param name="type">
+ /// Window type
+ /// </param>
+ /// <remarks>
+ /// Window constructor.show window indicator,set callback
+ /// When closing the window in any way outside the program control,
+ /// and set callback when window rotation changed.
+ /// </remarks>
+ public Window(Window parent, string name, WindowType type)
{
Name = name;
+ Type = type;
Realize(parent);
IndicatorMode = IndicatorMode.Show;
@@ -159,6 +370,11 @@ namespace ElmSharp
public string Name { get; set; }
/// <summary>
+ /// Gets the Window type.
+ /// </summary>
+ public WindowType Type { get; } = WindowType.Basic;
+
+ /// <summary>
/// Gets Window size with Size value(w,h)
/// </summary>
public Size ScreenSize
@@ -209,7 +425,6 @@ namespace ElmSharp
[Obsolete("Sorry, it's error typo of AvailableRotations, please use AvailableRotations")]
public DisplayRotation AavailableRotations { get; set; }
-
/// <summary>
/// Sets or gets available rotation degree.
/// </summary>
@@ -332,6 +547,404 @@ namespace ElmSharp
}
/// <summary>
+ /// Gets or sets the aspect ratio of a window.
+ /// </summary>
+ public double Aspect
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_aspect_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_aspect_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Window's autohide state.
+ /// </summary>
+ public bool AutoHide
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_autohide_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_autohide_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Get the borderless state of a window.
+ /// This function requests the Window Manager to not draw any decoration around the window.
+ /// </summary>
+ public bool Borderless
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_borderless_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_borderless_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the demand attention state of a window.
+ /// </summary>
+ public bool DemandAttention
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_demand_attention_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_demand_attention_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the floating mode of a window.
+ /// </summary>
+ public bool FloatingMode
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_floating_mode_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_floating_mode_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the animate status for the focus highlight for this window.
+ /// This function will enable or disable the animation of focus highlight only for the given window, regardless of the global setting for it.
+ /// </summary>
+ public bool FocusHighlightAnimation
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_focus_highlight_animate_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_focus_highlight_animate_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the enabled status for the focus highlight in a window.
+ /// This function will enable or disable the focus highlight only for the given window, regardless of the global setting for it.
+ /// </summary>
+ public bool FocusHighlightEnabled
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_focus_highlight_enabled_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_focus_highlight_enabled_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the style for the focus highlight on this window.
+ /// Sets the style to use for theming the highlight of focused objects on the given window.If style is NULL, the default will be used.
+ /// </summary>
+ public string FocusHighlightStyle
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_focus_highlight_style_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_focus_highlight_style_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Get the keyboard mode of the window.
+ /// </summary>
+ public KeyboardMode KeyboardMode
+ {
+ get
+ {
+ return (KeyboardMode)Interop.Elementary.elm_win_keyboard_mode_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_keyboard_mode_set(RealHandle, (int)value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the layer of the window.
+ /// What this means exactly will depend on the underlying engine used.
+ /// In the case of X11 backed engines, the value in layer has the following meanings
+ /// less than 3 means that the window will be placed below all others,
+ /// more than 5 means that the window will be placed above all others,
+ /// and anything else means that the window will be placed in the default layer.
+ /// </summary>
+ public int Layer
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_layer_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_layer_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the maximized state of a window.
+ /// </summary>
+ public bool Maximized
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_maximized_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_maximized_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the modal state of a window.
+ /// </summary>
+ public bool Modal
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_modal_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_modal_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the noblank property of a window.
+ /// This is a way to request the display on which the windowis shown does not blank, screensave or otherwise hide or obscure the window.It is intended for uses such as media playback on a television where a user may not want to be interrupted by an idle screen.
+ /// The noblank property may have no effect if the window is iconified/minimized or hidden.
+ /// </summary>
+ public bool NoBlank
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_noblank_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_noblank_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Get the profile of a window.
+ /// </summary>
+ public string Profile
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_profile_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_profile_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Get the constraints on the maximum width and height of a window relative to the width and height of its screen.
+ /// When this function returns true, obj will never resize larger than the screen.
+ /// </summary>
+ public bool ScreenConstrain
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_screen_constrain_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_screen_constrain_set(RealHandle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the base size of a window.
+ /// </summary>
+ public Size BaseSize
+ {
+ get
+ {
+ int w, h;
+ Interop.Elementary.elm_win_size_base_get(RealHandle, out w, out h);
+ return new Size(w, h);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_size_base_set(RealHandle, value.Width, value.Height);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the step size of a window.
+ /// </summary>
+ public Size StepSize
+ {
+ get
+ {
+ int w, h;
+ Interop.Elementary.elm_win_size_step_get(RealHandle, out w, out h);
+ return new Size(w, h);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_size_step_set(RealHandle, value.Width, value.Height);
+ }
+ }
+
+ /// <summary>
+ /// Get the screen position X of a window.
+ /// </summary>
+ public int ScreenPositionX
+ {
+ get
+ {
+ int x, y;
+ Interop.Elementary.elm_win_screen_position_get(Handle, out x, out y);
+ return x;
+ }
+ }
+
+ /// <summary>
+ /// Get the screen position Y of a window.
+ /// </summary>
+ public int ScreenPositionY
+ {
+ get
+ {
+ int x, y;
+ Interop.Elementary.elm_win_screen_position_get(Handle, out x, out y);
+ return y;
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the title of the window.
+ /// </summary>
+ public string Title
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_title_get(Handle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_title_set(Handle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the urgent state of a window.
+ /// </summary>
+ public bool Urgent
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_urgent_get(Handle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_urgent_set(Handle, value);
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the withdrawn state of a window.
+ /// </summary>
+ public bool Withdrawn
+ {
+ get
+ {
+ return Interop.Elementary.elm_win_urgent_get(Handle);
+ }
+ set
+ {
+ Interop.Elementary.elm_win_urgent_set(Handle, value);
+ }
+ }
+
+ /// <summary>
+ /// Create a socket to provide the service for Plug widget.
+ /// </summary>
+ /// <param name="serviceName">A service name</param>
+ /// <param name="serviceNumber">A number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.</param>
+ /// <param name="systemWide">A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.</param>
+ /// <returns></returns>
+ public bool CreateServiceSocket(string name, int number, bool systemWide)
+ {
+ return Interop.Elementary.elm_win_socket_listen(RealHandle, name, number, systemWide);
+ }
+
+ /// <summary>
+ /// Set the rotation of the window.
+ /// </summary>
+ /// <param name="degree">The rotation of the window, in degrees (0-360), counter-clockwise.</param>
+ /// <param name="resize">Resizes the window's contents so that they fit inside the current window geometry.</param>
+ public void SetRotation(int degree, bool resize)
+ {
+ if (resize)
+ Interop.Elementary.elm_win_rotation_with_resize_set(RealHandle, degree);
+ else
+ Interop.Elementary.elm_win_rotation_set(RealHandle, degree);
+ }
+
+ /// <summary>
+ /// Set the window to be skipped by focus.
+ /// This sets the window to be skipped by normal input.
+ /// This means a window manager will be asked to not focus this window as well as omit it from things like the taskbar, pager etc.
+ /// Call this and enable it on a window BEFORE you show it for the first time, otherwise it may have no effect.
+ /// Use this for windows that have only output information or might only be interacted with by the mouse or fingers, and never for typing input.
+ /// Be careful that this may have side-effects like making the window non-accessible in some cases unless the window is specially handled. Use this with care.
+ /// </summary>
+ public void FocusSkip(bool skip)
+ {
+ Interop.Elementary.elm_win_prop_focus_skip_set(Handle, skip);
+ }
+
+ /// <summary>
+ /// Pull up the window object.
+ /// Places the window pointed by obj at the top of the stack, so that it's not covered by any other window.
+ /// </summary>
+ public void PullUp()
+ {
+ Interop.Elementary.elm_win_raise(Handle);
+ }
+
+ /// <summary>
+ /// Bring down the window object.
+ /// Places the window pointed by obj at the bottom of the stack, so that no other window is covered by it.
+ /// </summary>
+ public void BringDown()
+ {
+ Interop.Elementary.elm_win_lower(Handle);
+ }
+
+ /// <summary>
/// This function sends a request to the Windows Manager to activate the Window.
/// If honored by the WM, the window receives the keyboard focus.
/// </summary>
@@ -345,6 +958,17 @@ namespace ElmSharp
}
/// <summary>
+ /// Delete subobj as a resize object of window obj.
+ /// This function removes the object subobj from the resize objects of the window obj.
+ /// It will not delete the object itself, which will be left unmanaged and should be deleted by the developer, manually handled or set as child of some other container.
+ /// </summary>
+ /// <param name="obj">Resize object.</param>
+ public void DeleteResizeObject(EvasObject obj)
+ {
+ Interop.Elementary.elm_win_resize_object_del(Handle, obj);
+ }
+
+ /// <summary>
/// Adds obj as a resize object of the Window.
/// </summary>
/// <remarks>
@@ -394,7 +1018,7 @@ namespace ElmSharp
protected override IntPtr CreateHandle(EvasObject parent)
{
Interop.Elementary.elm_config_accel_preference_set("3d");
- return Interop.Elementary.elm_win_add(parent != null ? parent.Handle : IntPtr.Zero, Name, 1);
+ return Interop.Elementary.elm_win_add(parent != null ? parent.Handle : IntPtr.Zero, Name, (int)Type);
}
internal void AddChild(EvasObject obj)
@@ -430,6 +1054,5 @@ namespace ElmSharp
}
return (DisplayRotation)orientation;
}
-
}
-}
+} \ No newline at end of file
diff --git a/ElmSharp/Interop/Interop.Elementary.Win.cs b/ElmSharp/Interop/Interop.Elementary.Win.cs
index a04a6d5..46ca72e 100644..100755
--- a/ElmSharp/Interop/Interop.Elementary.Win.cs
+++ b/ElmSharp/Interop/Interop.Elementary.Win.cs
@@ -83,6 +83,9 @@ internal static partial class Interop
internal static extern void elm_win_focus_highlight_style_set(IntPtr obj, string style);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_borderless_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_borderless_set(IntPtr obj, bool borderless);
[DllImport(Libraries.Elementary)]
@@ -98,6 +101,9 @@ internal static partial class Interop
internal static extern bool elm_win_autodel_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_override_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_override_set(IntPtr obj, bool isOverride);
[DllImport(Libraries.Elementary)]
@@ -113,9 +119,15 @@ internal static partial class Interop
internal static extern IndicatorMode elm_win_indicator_mode_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_demand_attention_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_demand_attention_set(IntPtr obj, bool demandAttention);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_conformant_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_conformant_set(IntPtr obj, bool conformant);
[DllImport(Libraries.Elementary)]
@@ -172,9 +184,15 @@ internal static partial class Interop
}
[DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_layer_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_layer_set(IntPtr obj, int layer);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_sticky_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_sticky_set(IntPtr obj, bool sticky);
[DllImport(Libraries.Elementary)]
@@ -188,6 +206,9 @@ internal static partial class Interop
internal static extern bool elm_win_iconified_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_floating_mode_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_floating_mode_set(IntPtr obj, bool floating);
[DllImport(Libraries.Elementary)]
@@ -205,29 +226,204 @@ internal static partial class Interop
internal static extern bool eext_win_keygrab_unset(IntPtr obj, string key);
[DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_keyboard_win_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_win_keyboard_win_set(IntPtr obj, bool isKeyboard);
[DllImport(Libraries.Elementary)]
- internal static extern void elm_win_keyboard_mode_set(IntPtr obj, Elm_Win_Keyboard_Mode mode);
+ internal static extern int elm_win_keyboard_mode_get(IntPtr obj);
- internal enum Elm_Win_Keyboard_Mode
- {
- ELM_WIN_KEYBOARD_UNKNOWN,
- ELM_WIN_KEYBOARD_OFF,
- ELM_WIN_KEYBOARD_ON,
- ELM_WIN_KEYBOARD_ALPHA,
- ELM_WIN_KEYBOARD_NUMERIC,
- ELM_WIN_KEYBOARD_PIN,
- ELM_WIN_KEYBOARD_PHONE_NUMBER,
- ELM_WIN_KEYBOARD_HEX,
- ELM_WIN_KEYBOARD_TERMINAL,
- ELM_WIN_KEYBOARD_PASSWORD,
- ELM_WIN_KEYBOARD_IP,
- ELM_WIN_KEYBOARD_HOST,
- ELM_WIN_KEYBOARD_FILE,
- ELM_WIN_KEYBOARD_URL,
- ELM_WIN_KEYBOARD_KEYPAD,
- ELM_WIN_KEYBOARD_J2ME,
- }
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_keyboard_mode_set(IntPtr obj, int mode);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_inwin_activate(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_inwin_add(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_inwin_content_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_inwin_content_set(IntPtr obj, IntPtr content);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_inwin_content_unset(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern double elm_win_aspect_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_aspect_set(IntPtr obj, double aspect);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_autohide_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_autohide_set(IntPtr obj, bool autohide);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_center(IntPtr obj, bool h, bool v);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_focus_highlight_animate_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_focus_highlight_animate_set(IntPtr obj, bool animate);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern string elm_win_icon_name_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_icon_name_set(IntPtr obj, string iconName);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_icon_object_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_icon_object_set(IntPtr obj, IntPtr icon);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_inlined_image_object_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_maximized_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_maximized_set(IntPtr obj, bool maximized);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_modal_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_modal_set(IntPtr obj, bool modal);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_noblank_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_noblank_set(IntPtr obj, bool noblank);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_norender_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_norender_pop(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_norender_push(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern string elm_win_profile_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_profile_set(IntPtr obj, string profile);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_quickpanel_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_quickpanel_priority_major_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_quickpanel_priority_major_set(IntPtr obj, int priority);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_quickpanel_priority_minor_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_quickpanel_priority_minor_set(IntPtr obj, int priority);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_quickpanel_set(IntPtr obj, bool quickpanel);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_quickpanel_zone_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_quickpanel_zone_set(IntPtr obj, int zone);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_render(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_screen_constrain_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_screen_constrain_set(IntPtr obj, bool constrain);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_screen_position_get(IntPtr obj, out int x, out int y);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_shaped_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_shaped_set(IntPtr obj, bool shaped);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_size_base_get(IntPtr obj, out int w, out int h);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_size_base_set(IntPtr obj, int w, int h);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_size_step_get(IntPtr obj, out int w, out int h);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_size_step_set(IntPtr obj, int w, int h);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_socket_listen(IntPtr obj, string svcname, int svcnum, bool svcsys);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_trap_data_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_trap_set(IntPtr obj, IntPtr trap);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_urgent_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_urgent_set(IntPtr obj, bool urgent);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_util_dialog_add(IntPtr obj, string name, string title);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_withdrawn_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_withdrawn_set(IntPtr obj, bool withdrawn);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_wm_rotation_manual_rotation_done(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_wm_rotation_manual_rotation_done_get(IntPtr obj, bool withdrawn);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_wm_rotation_manual_rotation_done_set(IntPtr obj, bool set);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_win_wm_rotation_preferred_rotation_get(IntPtr obj, bool withdrawn);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern bool elm_win_available_profiles_get(IntPtr obj, out string[] profiles, out int count);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_available_profiles_set(IntPtr obj, string[] profiles, int count);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_win_fake_add(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_fake_canvas_set(IntPtr obj, IntPtr oee);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_win_illume_command_send(IntPtr obj, IntPtr param);
}
} \ No newline at end of file