Struct xpcom::interfaces::nsIBaseWindow [] [src]

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

interface nsIBaseWindow : nsISupports

/**
 * The nsIBaseWindow describes a generic window and basic operations that
 * can be performed on it.  This is not to be a complete windowing interface
 * but rather a common set that nearly all windowed objects support.
 */

Methods

impl nsIBaseWindow
[src]

[src]

Cast this nsIBaseWindow to one of its base interfaces.

impl nsIBaseWindow
[src]

eRepaint: i64 = 1
/**
     * The 'flags' argument to setPositionAndSize is a set of these bits.
     */

eDelayResize: i64 = 2

[src]

void create ();

[src]

void destroy ();

[src]

void setPosition (in long x, in long y);

[src]

void setPositionDesktopPix (in long x, in long y);

[src]

void getPosition (out long x, out long y);

[src]

void setSize (in long cx, in long cy, in boolean fRepaint);

[src]

void getSize (out long cx, out long cy);

[src]

void setPositionAndSize (in long x, in long y, in long cx, in long cy, in unsigned long flags);

[src]

void getPositionAndSize (out long x, out long y, out long cx, out long cy);

[src]

/**
     * Tell the window to repaint itself
     * @param aForce - if true, repaint immediately
     *                 if false, the window may defer repainting as it sees fit.
     */

void repaint (in boolean force);

[src]

attribute nativeWindow parentNativeWindow;

[src]

attribute nativeWindow parentNativeWindow;

[src]

readonly attribute DOMString nativeHandle;

[src]

attribute boolean visibility;

[src]

attribute boolean visibility;

[src]

attribute boolean enabled;

[src]

attribute boolean enabled;

[src]

readonly attribute double unscaledDevicePixelsPerCSSPixel;

[src]

readonly attribute double devicePixelsPerDesktopPixel;

[src]

/**
    * Give the window focus.
    */

void setFocus ();

[src]

attribute AString title;

[src]

attribute AString title;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIBaseWindow
[src]

IID: nsIID = nsID(3395507497, 43383, 17746, [155, 138, 102, 24, 126, 84, 216, 130])

[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 nsIBaseWindow
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIBaseWindow
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.