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