Struct xpcom::interfaces::nsIDOMXULCommandEvent [] [src]

#[repr(C)]
pub struct nsIDOMXULCommandEvent { /* fields omitted */ }

interface nsIDOMXULCommandEvent : nsIDOMUIEvent

Methods

impl nsIDOMXULCommandEvent
[src]

[src]

Cast this nsIDOMXULCommandEvent to one of its base interfaces.

impl nsIDOMXULCommandEvent
[src]

[src]

/**
   * Command events support the same set of modifier keys as mouse and key
   * events.
   */

readonly attribute boolean ctrlKey;

[src]

readonly attribute boolean shiftKey;

[src]

readonly attribute boolean altKey;

[src]

readonly attribute boolean metaKey;

[src]

/**
   * The input source, if this event was triggered by a mouse event.
  */

readonly attribute unsigned short inputSource;

[src]

/**
   * If the command event was redispatched because of a command= attribute
   * on the original target, sourceEvent will be set to the original DOM Event.
   * Otherwise, sourceEvent is null.
   */

readonly attribute nsIDOMEvent sourceEvent;

[src]

/**
   * Creates a new command event with the given attributes.
   */

void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in nsIDOMEvent sourceEvent, in unsigned short inputSource);

Methods from Deref<Target = nsIDOMUIEvent>

[src]

Cast this nsIDOMUIEvent to one of its base interfaces.

[src]

readonly attribute mozIDOMWindowProxy view;

[src]

readonly attribute long detail;

[src]

void initUIEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg);

[src]

readonly attribute long layerX;

[src]

readonly attribute long layerY;

[src]

readonly attribute long pageX;

[src]

readonly attribute long pageY;

[src]

readonly attribute unsigned long which;

[src]

readonly attribute nsIDOMNode rangeParent;

[src]

readonly attribute long rangeOffset;

Trait Implementations

impl XpCom for nsIDOMXULCommandEvent
[src]

IID: nsIID = nsID(1447335604, 4468, 18668, [146, 125, 237, 235, 102, 184, 103, 87])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMXULCommandEvent
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMXULCommandEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.