Struct glib::Source
[−]
[src]
pub struct Source(_);
Methods
impl Source
[src]
fn add_child_source(&self, child_source: &Source)
fn attach<'a, P: Into<Option<&'a MainContext>>>(&self, context: P) -> u32
fn destroy(&self)
fn get_can_recurse(&self) -> bool
fn get_context(&self) -> Option<MainContext>
fn get_id(&self) -> u32
fn get_name(&self) -> Option<String>
fn get_priority(&self) -> i32
fn get_ready_time(&self) -> i64
fn get_time(&self) -> i64
fn is_destroyed(&self) -> bool
fn remove_child_source(&self, child_source: &Source)
fn remove(tag: u32) -> bool
Trait Implementations
impl Clone for Source
[src]
fn clone(&self) -> Source
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more