Enum iup::callback::CallbackReturn [] [src]

pub enum CallbackReturn {
    Default,
    Close,
    Ignore,
    Continue,
    Char(char),
}

Return this from a callback to tell the framework a non-default action to be performed.

Not all callbacks accepts Close, Ignore or Continue, check their respective docs.

Variants

Default

The default CallbackReturn, does nothing when returned.

Close

If this is returned from a callback, then when the callback returns the dialog containing the element on which the callback was invoked will be closed.

Ignore

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Continue

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Char

Callback specific, check the callback documentation to see if it accepts this return value and it's effect.

Trait Implementations

impl From<()> for CallbackReturn

fn from(_: ()) -> CallbackReturn

Derived Implementations

impl Eq for CallbackReturn

impl PartialEq for CallbackReturn

fn eq(&self, __arg_0: &CallbackReturn) -> bool

fn ne(&self, __arg_0: &CallbackReturn) -> bool

impl Clone for CallbackReturn

fn clone(&self) -> CallbackReturn

fn clone_from(&mut self, source: &Self)

impl Copy for CallbackReturn