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]
pub fn coerce<T: nsISliderListenerCoerce>(&self) -> &T
[src]
Cast this nsISliderListener
to one of its base interfaces.
impl nsISliderListener
[src]
pub unsafe fn ValueChanged(
&self,
which: &nsAString,
newValue: int32_t,
userChanged: bool
) -> nsresult
[src]
&self,
which: &nsAString,
newValue: int32_t,
userChanged: bool
) -> nsresult
/**
* 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);
pub unsafe fn DragStateChanged(&self, isDragging: bool) -> nsresult
[src]
/**
* Called when the user begins or ends dragging the thumb.
*/
void dragStateChanged (in boolean isDragging);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsISliderListener
[src]
const IID: nsIID
IID: nsIID = nsID(3853715278, 60952, 17720, [131, 185, 36, 135, 217, 10, 42, 52])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsISliderListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.