Trait ux::prelude::FileMonitorExt[]

pub trait FileMonitorExt: 'static {
    pub fn cancel(&self) -> bool;
pub fn emit_event<P, Q>(
        &self,
        child: &P,
        other_file: &Q,
        event_type: FileMonitorEvent
    )
    where
        P: IsA<File>,
        Q: IsA<File>
;
pub fn is_cancelled(&self) -> bool;
pub fn set_rate_limit(&self, limit_msecs: i32);
pub fn get_property_cancelled(&self) -> bool;
pub fn get_property_rate_limit(&self) -> i32;
pub fn connect_changed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &File, Option<&File>, FileMonitorEvent)
;
pub fn connect_property_cancelled_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_rate_limit_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Required methods

pub fn cancel(&self) -> bool

pub fn emit_event<P, Q>(
    &self,
    child: &P,
    other_file: &Q,
    event_type: FileMonitorEvent
) where
    P: IsA<File>,
    Q: IsA<File>, 

pub fn is_cancelled(&self) -> bool

pub fn set_rate_limit(&self, limit_msecs: i32)

pub fn get_property_cancelled(&self) -> bool

pub fn get_property_rate_limit(&self) -> i32

pub fn connect_changed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &File, Option<&File>, FileMonitorEvent), 

pub fn connect_property_cancelled_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_rate_limit_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

Loading content...

Implementors

impl<O> FileMonitorExt for O where
    O: IsA<FileMonitor>, 

Loading content...