Struct xpcom::interfaces::nsISliderListener [] [src]

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

interface nsISliderListener : nsISupports

/**
 * Used for <scale> to listen to slider changes to avoid mutation listeners
 */

Methods

impl nsISliderListener
[src]

[src]

Cast this nsISliderListener to one of its base interfaces.

impl nsISliderListener
[src]

[src]

/**
   * Called when the current, minimum or maximum value has been changed to
   * newValue. The which parameter will either be 'curpos', 'minpos' or 'maxpos'.
   * If userChanged is true, then the user changed ths slider, otherwise it
   * was changed via some other means.
   */

void valueChanged (in AString which, in long newValue, in boolean userChanged);

[src]

/**
   * Called when the user begins or ends dragging the thumb.
   */

void dragStateChanged (in boolean isDragging);

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

IID: nsIID = nsID(3853715278, 60952, 17720, [131, 185, 36, 135, 217, 10, 42, 52])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISliderListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.