Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Exomia.CEF.Interaction

Daniel Baetz edited this page Feb 9, 2020 · 13 revisions

IJsUiActions

Interface to communicate with the c# backend.

public interface Exomia.CEF.Interaction.IJsUiActions

Methods

void Trigger(Int32 key, Object[] args)

Summary:

[vue-ui] call this function to trigger actions bound to the key value.

Parameter:

  • key - The key.
  • args - A variable-length parameters list containing arguments.


IUiActionHandler

Interface for user interface action handling.

public interface Exomia.CEF.Interaction.IUiActionHandler

Events

TriggerHandler Trigger

Summary:

Occurs when a trigger is invoked from javascript code.



UiActions

An ui action class. This class cannot be inherited.

public class Exomia.CEF.Interaction.UiActions
    : IJsUiActions, IUiActionHandler, IDisposable

Constructors

    .ctor UiActions()

Methods

void Dispose()

Summary:

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.


void Trigger(Int32 key, Object[] args)

Summary:

[vue-ui] call this function to trigger actions bound to the key value.

Parameter:

  • key - The key.
  • args - A variable-length parameters list containing arguments.


UiInputWrapper

An input wrapper. This class cannot be inherited.

public class Exomia.CEF.Interaction.UiInputWrapper
    : IUiInputWrapper, IInputHandler, IRawInputHandler

Constructors

    .ctor UiInputWrapper()

Properties

IInputHandler InputHandler

Summary:

The input handler.



Methods

void RemoveFlag(Int32 flag)

Summary:

[vue-ui] call this function to enable input forwarding, for a specific flag, to the .

Parameter:

  • flag - the flag to remove

Remarks:

    flags:
        KEY_DOWN = 1,
        KEY_UP = 2,
        KEY_PRESS = 4,
        KEY_EVENT = 8,
        KEY_ALL = 15,
        MOUSE_DOWN = 16,
        MOUSE_UP = 32,
        MOUSE_CLICK = 64,
        MOUSE_MOVE = 128,
        MOUSE_WHEEL = 256,
        MOUSE_ALL = 496,
        ALL = 511


void SetFlag(Int32 flag)

Summary:

[vue-ui] call this function to disable input forwarding, for a specific flag, to the .

Parameter:

  • flag - the flag to set

Remarks:

    flags:
        KEY_DOWN = 1,
        KEY_UP = 2,
        KEY_PRESS = 4,
        KEY_EVENT = 8,
        KEY_ALL = 15,
        MOUSE_DOWN = 16,
        MOUSE_UP = 32,
        MOUSE_CLICK = 64,
        MOUSE_MOVE = 128,
        MOUSE_WHEEL = 256,
        MOUSE_ALL = 496,
        ALL = 511