WebKit2WebExtension.DOMKeyboardEvent

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMEvent->WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMKeyboardEvent WebKit2WebExtension.DOMKeyboardEvent WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMUIEvent->WebKit2WebExtension.DOMKeyboardEvent

Subclasses:None

Methods

Inherited:WebKit2WebExtension.DOMUIEvent (9), WebKit2WebExtension.DOMEvent (15), GObject.Object (37)
Structs:GObject.ObjectClass (5)
  get_alt_graph_key ()
  get_alt_key ()
  get_ctrl_key ()
  get_key_identifier ()
  get_key_location ()
  get_meta_key ()
  get_modifier_state (keyIdentifierArg)
  get_shift_key ()
  init_keyboard_event (type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey, altGraphKey)

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMUIEvent (8), WebKit2WebExtension.DOMEvent (10), WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
alt-graph-key bool r read-only bool KeyboardEvent:alt-graph-key
alt-key bool r read-only bool KeyboardEvent:alt-key
ctrl-key bool r read-only bool KeyboardEvent:ctrl-key
key-identifier str r read-only str KeyboardEvent:key-identifier
key-location int r read-only int KeyboardEvent:key-location
meta-key bool r read-only bool KeyboardEvent:meta-key
shift-key bool r read-only bool KeyboardEvent:shift-key

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance WebKit2WebExtension.DOMUIEvent r  

Class Details

class WebKit2WebExtension.DOMKeyboardEvent(**kwargs)
Bases:WebKit2WebExtension.DOMUIEvent
Abstract:No
Structure:WebKit2WebExtension.DOMKeyboardEventClass
get_alt_graph_key()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_alt_key()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_ctrl_key()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_key_identifier()
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_key_location()
Returns:A int
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_meta_key()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_modifier_state(keyIdentifierArg)
Parameters:keyIdentifierArg (str) – A str
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_shift_key()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

init_keyboard_event(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey, altGraphKey)
Parameters:

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMKeyboardEvent.props.alt_graph_key
Name:alt-graph-key
Type:bool
Default Value:False
Flags:READABLE

read-only bool KeyboardEvent:alt-graph-key

WebKit2WebExtension.DOMKeyboardEvent.props.alt_key
Name:alt-key
Type:bool
Default Value:False
Flags:READABLE

read-only bool KeyboardEvent:alt-key

WebKit2WebExtension.DOMKeyboardEvent.props.ctrl_key
Name:ctrl-key
Type:bool
Default Value:False
Flags:READABLE

read-only bool KeyboardEvent:ctrl-key

WebKit2WebExtension.DOMKeyboardEvent.props.key_identifier
Name:key-identifier
Type:str
Default Value:''
Flags:READABLE

read-only str KeyboardEvent:key-identifier

WebKit2WebExtension.DOMKeyboardEvent.props.key_location
Name:key-location
Type:int
Default Value:0
Flags:READABLE

read-only int KeyboardEvent:key-location

WebKit2WebExtension.DOMKeyboardEvent.props.meta_key
Name:meta-key
Type:bool
Default Value:False
Flags:READABLE

read-only bool KeyboardEvent:meta-key

WebKit2WebExtension.DOMKeyboardEvent.props.shift_key
Name:shift-key
Type:bool
Default Value:False
Flags:READABLE

read-only bool KeyboardEvent:shift-key