Struct glib::source::Continue [] [src]

pub struct Continue(pub bool);

Return type of idle and timeout functions.

In the callback, return Continue(true) to continue scheduling the callback in the main loop or Continue(false) to remove it from the main loop.

Trait Implementations

impl ToGlib for Continue

type GlibType = gboolean

fn to_glib(&self) -> gboolean