WebKitDOMKeyboardEvent

WebKitDOMKeyboardEvent

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMEvent
            ╰── WebKitDOMUIEvent
                ╰── WebKitDOMKeyboardEvent

Description

Functions

webkit_dom_keyboard_event_get_modifier_state ()

gboolean
webkit_dom_keyboard_event_get_modifier_state
                               (WebKitDOMKeyboardEvent *self,
                                const gchar *keyIdentifierArg);

webkit_dom_keyboard_event_get_modifier_state has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMKeyboardEvent

 

keyIdentifierArg

A gchar

 

Returns

A gboolean


webkit_dom_keyboard_event_init_keyboard_event ()

void
webkit_dom_keyboard_event_init_keyboard_event
                               (WebKitDOMKeyboardEvent *self,
                                const gchar *type,
                                gboolean canBubble,
                                gboolean cancelable,
                                WebKitDOMDOMWindow *view,
                                const gchar *keyIdentifier,
                                gulong location,
                                gboolean ctrlKey,
                                gboolean altKey,
                                gboolean shiftKey,
                                gboolean metaKey,
                                gboolean altGraphKey);

webkit_dom_keyboard_event_init_keyboard_event has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMKeyboardEvent

 

type

A gchar

 

canBubble

A gboolean

 

cancelable

A gboolean

 

view

A WebKitDOMDOMWindow

 

keyIdentifier

A gchar

 

location

A gulong

 

ctrlKey

A gboolean

 

altKey

A gboolean

 

shiftKey

A gboolean

 

metaKey

A gboolean

 

altGraphKey

A gboolean

 

webkit_dom_keyboard_event_get_key_identifier ()

gchar *
webkit_dom_keyboard_event_get_key_identifier
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_key_identifier has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gchar


webkit_dom_keyboard_event_get_key_location ()

gulong
webkit_dom_keyboard_event_get_key_location
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_key_location has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gulong


webkit_dom_keyboard_event_get_ctrl_key ()

gboolean
webkit_dom_keyboard_event_get_ctrl_key
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_ctrl_key has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gboolean


webkit_dom_keyboard_event_get_shift_key ()

gboolean
webkit_dom_keyboard_event_get_shift_key
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_shift_key has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gboolean


webkit_dom_keyboard_event_get_alt_key ()

gboolean
webkit_dom_keyboard_event_get_alt_key (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_alt_key has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gboolean


webkit_dom_keyboard_event_get_meta_key ()

gboolean
webkit_dom_keyboard_event_get_meta_key
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_meta_key has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gboolean


webkit_dom_keyboard_event_get_alt_graph_key ()

gboolean
webkit_dom_keyboard_event_get_alt_graph_key
                               (WebKitDOMKeyboardEvent *self);

webkit_dom_keyboard_event_get_alt_graph_key has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

Returns

A gboolean

Types and Values

struct WebKitDOMKeyboardEvent

struct WebKitDOMKeyboardEvent;

WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_STANDARD

#define WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_STANDARD 0x00

WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_STANDARD has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_LEFT

#define WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_LEFT 0x01

WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_LEFT has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_RIGHT

#define WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_RIGHT 0x02

WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_RIGHT has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_NUMPAD

#define WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_NUMPAD 0x03

WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_NUMPAD has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Property Details

The “alt-graph-key” property

  “alt-graph-key”            gboolean

read-only gboolean KeyboardEvent:alt-graph-key.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: FALSE


The “alt-key” property

  “alt-key”                  gboolean

read-only gboolean KeyboardEvent:alt-key.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: FALSE


The “ctrl-key” property

  “ctrl-key”                 gboolean

read-only gboolean KeyboardEvent:ctrl-key.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: FALSE


The “key-identifier” property

  “key-identifier”           gchar *

read-only gchar* KeyboardEvent:key-identifier.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: ""


The “key-location” property

  “key-location”             gulong

read-only gulong KeyboardEvent:key-location.

Owner: WebKitDOMKeyboardEvent

Flags: Read


The “meta-key” property

  “meta-key”                 gboolean

read-only gboolean KeyboardEvent:meta-key.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: FALSE


The “shift-key” property

  “shift-key”                gboolean

read-only gboolean KeyboardEvent:shift-key.

Owner: WebKitDOMKeyboardEvent

Flags: Read

Default value: FALSE