Enum kiss_ui::callback::CallbackStatus [] [src]

pub enum CallbackStatus {
    Default,
    Close,
}

Set this within a callback to tell the framework if it should close or not.

If Callback::close.set() is called within a callback, then when the callback returns, the dialog containing the widget on which the callback was invoked will be closed.

Variants

Default

The default CallbackStatus, does nothing when set.

Close

If this is set within a callback, then when the callback returns the dialog containing the widget on which the callback was invoked will be closed.

Methods

impl CallbackStatus

fn close(&mut self)

Trait Implementations

impl From<()> for CallbackStatus

fn from(_: ()) -> CallbackStatus

Derived Implementations

impl Eq for CallbackStatus

impl PartialEq for CallbackStatus

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

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

impl Clone for CallbackStatus

fn clone(&self) -> CallbackStatus

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

impl Copy for CallbackStatus