gio-2.0 Reference Manual

Synopsis

public class FileMonitor : Object  {
    public    weak bool                 cancelled                 { get; } ;
    public    weak int                  rate_limit                { get; set; } ;


    public    signal void               changed                   ( File                file,
                                                                    File?               other_file,
                                                                    FileMonitorEvent    event_type )  ;


    public    static weak FileMonitor   directory                 ( File                file,
                                                                    FileMonitorFlags    flags,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    void                      emit_event                ( File                child,
                                                                    File                other_file,
                                                                    FileMonitorEvent    event_type ) ;
    public    static weak FileMonitor   file                      ( File                file,
                                                                    FileMonitorFlags    flags,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    bool                      is_cancelled              (  ) ;
    public    void                      set_rate_limit            ( int                 limit_msecs ) ;
    public    virtual bool              cancel                    (  ) ;
}

FileMonitor Description

Details

Constructor Details

Field Details

Signal Details

changed
    public    signal void               changed                   ( File                file,
                                                                    File?               other_file,
                                                                    FileMonitorEvent    event_type )  ;		

Property Details

cancelled
    public    weak bool                 cancelled                 { get; } ;		

rate_limit
    public    weak int                  rate_limit                { get; set; } ;		

Method Details

directory ()
    public    static weak FileMonitor   directory                 ( File                file,
                                                                    FileMonitorFlags    flags,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

emit_event ()
    public    void                      emit_event                ( File                child,
                                                                    File                other_file,
                                                                    FileMonitorEvent    event_type ) ;		

file ()
    public    static weak FileMonitor   file                      ( File                file,
                                                                    FileMonitorFlags    flags,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

is_cancelled ()
    public    bool                      is_cancelled              (  ) ;		

set_rate_limit ()
    public    void                      set_rate_limit            ( int                 limit_msecs ) ;		

cancel ()
    public    virtual bool              cancel                    (  ) ;		


Created by Valadoc