Struct xpcom::interfaces::nsIDOMXULCommandDispatcher
[−]
[src]
#[repr(C)]pub struct nsIDOMXULCommandDispatcher { /* fields omitted */ }
interface nsIDOMXULCommandDispatcher : nsISupports
Methods
impl nsIDOMXULCommandDispatcher
[src]
pub fn coerce<T: nsIDOMXULCommandDispatcherCoerce>(&self) -> &T
[src]
Cast this nsIDOMXULCommandDispatcher
to one of its base interfaces.
impl nsIDOMXULCommandDispatcher
[src]
pub unsafe fn GetFocusedElement(
&self,
aFocusedElement: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aFocusedElement: *mut *const nsIDOMElement
) -> nsresult
attribute nsIDOMElement focusedElement;
pub unsafe fn SetFocusedElement(
&self,
aFocusedElement: *const nsIDOMElement
) -> nsresult
[src]
&self,
aFocusedElement: *const nsIDOMElement
) -> nsresult
attribute nsIDOMElement focusedElement;
pub unsafe fn GetFocusedWindow(
&self,
aFocusedWindow: *mut *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aFocusedWindow: *mut *const mozIDOMWindowProxy
) -> nsresult
attribute mozIDOMWindowProxy focusedWindow;
pub unsafe fn SetFocusedWindow(
&self,
aFocusedWindow: *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aFocusedWindow: *const mozIDOMWindowProxy
) -> nsresult
attribute mozIDOMWindowProxy focusedWindow;
pub unsafe fn AddCommandUpdater(
&self,
updater: *const nsIDOMElement,
events: &nsAString,
targets: &nsAString
) -> nsresult
[src]
&self,
updater: *const nsIDOMElement,
events: &nsAString,
targets: &nsAString
) -> nsresult
void addCommandUpdater (in nsIDOMElement updater, in DOMString events, in DOMString targets);
pub unsafe fn RemoveCommandUpdater(
&self,
updater: *const nsIDOMElement
) -> nsresult
[src]
&self,
updater: *const nsIDOMElement
) -> nsresult
void removeCommandUpdater (in nsIDOMElement updater);
pub unsafe fn UpdateCommands(&self, eventName: &nsAString) -> nsresult
[src]
void updateCommands (in DOMString eventName);
pub unsafe fn GetControllerForCommand(
&self,
command: *const c_char,
_retval: *mut *const nsIController
) -> nsresult
[src]
&self,
command: *const c_char,
_retval: *mut *const nsIController
) -> nsresult
nsIController getControllerForCommand (in string command);
pub unsafe fn GetControllers(
&self,
_retval: *mut *const nsIControllers
) -> nsresult
[src]
&self,
_retval: *mut *const nsIControllers
) -> nsresult
nsIControllers getControllers ();
pub unsafe fn AdvanceFocus(&self) -> nsresult
[src]
void advanceFocus ();
pub unsafe fn RewindFocus(&self) -> nsresult
[src]
void rewindFocus ();
pub unsafe fn AdvanceFocusIntoSubtree(
&self,
elt: *const nsIDOMElement
) -> nsresult
[src]
&self,
elt: *const nsIDOMElement
) -> nsresult
void advanceFocusIntoSubtree (in nsIDOMElement elt);
pub unsafe fn GetSuppressFocusScroll(
&self,
aSuppressFocusScroll: *mut bool
) -> nsresult
[src]
&self,
aSuppressFocusScroll: *mut bool
) -> nsresult
attribute boolean suppressFocusScroll;
pub unsafe fn SetSuppressFocusScroll(
&self,
aSuppressFocusScroll: bool
) -> nsresult
[src]
&self,
aSuppressFocusScroll: bool
) -> nsresult
attribute boolean suppressFocusScroll;
pub unsafe fn Lock(&self) -> nsresult
[src]
void lock ();
pub unsafe fn Unlock(&self) -> nsresult
[src]
void unlock ();
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 nsIDOMXULCommandDispatcher
[src]
const IID: nsIID
IID: nsIID = nsID(2851774419, 36194, 20372, [158, 216, 62, 169, 195, 207, 7, 115])
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 nsIDOMXULCommandDispatcher
[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 nsIDOMXULCommandDispatcher
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.