Struct xpcom::interfaces::nsIPrompt [] [src]

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

interface nsIPrompt : nsISupports

Methods

impl nsIPrompt
[src]

[src]

Cast this nsIPrompt to one of its base interfaces.

impl nsIPrompt
[src]

BUTTON_POS_0: i64 = 1

BUTTON_POS_1: i64 = 256

BUTTON_POS_2: i64 = 65536

BUTTON_TITLE_OK: i64 = 1

BUTTON_TITLE_CANCEL: i64 = 2

BUTTON_TITLE_YES: i64 = 3

BUTTON_TITLE_NO: i64 = 4

BUTTON_TITLE_SAVE: i64 = 5

BUTTON_TITLE_DONT_SAVE: i64 = 6

BUTTON_TITLE_REVERT: i64 = 7

BUTTON_TITLE_IS_STRING: i64 = 127

BUTTON_POS_0_DEFAULT: i64 = 0

BUTTON_POS_1_DEFAULT: i64 = 16777216

BUTTON_POS_2_DEFAULT: i64 = 33554432

BUTTON_DELAY_ENABLE: i64 = 67108864

STD_OK_CANCEL_BUTTONS: i64 = 513

STD_YES_NO_BUTTONS: i64 = 1027

[src]

void alert (in wstring dialogTitle, in wstring text);

[src]

void alertCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue);

[src]

boolean confirm (in wstring dialogTitle, in wstring text);

[src]

boolean confirmCheck (in wstring dialogTitle, in wstring text, in wstring checkMsg, inout boolean checkValue);

[src]

int32_t confirmEx (in wstring dialogTitle, in wstring text, in unsigned long buttonFlags, in wstring button0Title, in wstring button1Title, in wstring button2Title, in wstring checkMsg, inout boolean checkValue);

[src]

boolean prompt (in wstring dialogTitle, in wstring text, inout wstring value, in wstring checkMsg, inout boolean checkValue);

[src]

boolean promptPassword (in wstring dialogTitle, in wstring text, inout wstring password, in wstring checkMsg, inout boolean checkValue);

[src]

boolean promptUsernameAndPassword (in wstring dialogTitle, in wstring text, inout wstring username, inout wstring password, in wstring checkMsg, inout boolean checkValue);

[src]

boolean select (in wstring dialogTitle, in wstring text, in uint32_t count, [array, size_is (count)] in wstring selectList, out long outSelection);

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

IID: nsIID = nsID(2789175488, 5259, 4563, [147, 51, 0, 16, 75, 160, 253, 64])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPrompt
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.