Trait gio::FileMonitorExt [−][src]
pub trait FileMonitorExt {
fn cancel(&self) -> bool;
fn emit_event<P: IsA<File>, Q: IsA<File>>(
&self,
child: &P,
other_file: &Q,
event_type: FileMonitorEvent
);
fn is_cancelled(&self) -> bool;
fn set_rate_limit(&self, limit_msecs: i32);
fn get_property_cancelled(&self) -> bool;
fn get_property_rate_limit(&self) -> i32;
fn connect_changed<F: Fn(&Self, &File, &Option<File>, FileMonitorEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_cancelled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_rate_limit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
fn cancel(&self) -> bool
fn emit_event<P: IsA<File>, Q: IsA<File>>(
&self,
child: &P,
other_file: &Q,
event_type: FileMonitorEvent
)
&self,
child: &P,
other_file: &Q,
event_type: FileMonitorEvent
)
fn is_cancelled(&self) -> bool
fn set_rate_limit(&self, limit_msecs: i32)
fn get_property_cancelled(&self) -> bool
fn get_property_rate_limit(&self) -> i32
fn connect_changed<F: Fn(&Self, &File, &Option<File>, FileMonitorEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_cancelled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_rate_limit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<FileMonitor> + IsA<Object>> FileMonitorExt for O