[][src]Enum gtk::ResponseType

pub enum ResponseType {
    None,
    Reject,
    Accept,
    DeleteEvent,
    Ok,
    Cancel,
    Close,
    Yes,
    No,
    Apply,
    Help,
    Other(u16),
    // some variants omitted
}

Predefined values for use as response ids in DialogExt::add_button. All predefined values are negative; GTK+ leaves values of 0 or greater for application-defined response ids.

Variants

None

Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed

Reject

Generic response id, not used by GTK+ dialogs

Accept

Generic response id, not used by GTK+ dialogs

DeleteEvent

Returned if the dialog is deleted

Ok

Returned by OK buttons in GTK+ dialogs

Cancel

Returned by Cancel buttons in GTK+ dialogs

Close

Returned by Close buttons in GTK+ dialogs

Yes

Returned by Yes buttons in GTK+ dialogs

No

Returned by No buttons in GTK+ dialogs

Apply

Returned by Apply buttons in GTK+ dialogs

Help

Returned by Help buttons in GTK+ dialogs

Other(u16)

Trait Implementations

impl Clone for ResponseType[src]

impl Copy for ResponseType[src]

impl Debug for ResponseType[src]

impl Display for ResponseType[src]

impl Eq for ResponseType[src]

impl From<i32> for ResponseType[src]

impl<'a> FromValue<'a> for ResponseType[src]

impl<'a> FromValueOptional<'a> for ResponseType[src]

impl Hash for ResponseType[src]

impl Into<i32> for ResponseType[src]

impl Ord for ResponseType[src]

impl PartialEq<ResponseType> for ResponseType[src]

impl PartialOrd<ResponseType> for ResponseType[src]

impl SetValue for ResponseType[src]

impl StaticType for ResponseType[src]

impl StructuralEq for ResponseType[src]

impl StructuralPartialEq for ResponseType[src]

Auto Trait Implementations

impl RefUnwindSafe for ResponseType

impl Send for ResponseType

impl Sync for ResponseType

impl Unpin for ResponseType

impl UnwindSafe for ResponseType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.