gio-2.0 Reference Manual

Synopsis

public interface Seekable {
    public    bool                      truncate                  ( int64               offset,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    abstract bool             can_seek                  (  ) ;
    public    abstract bool             can_truncate              (  ) ;
    public    abstract bool             seek                      ( int64               offset,
                                                                    SeekType            type,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    abstract int64            tell                      (  ) ;
    public    abstract bool             truncate_fn               ( int64               offset,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
}

Description

Details

Signal Details

Property Details

Method Details

truncate ()
    public    bool                      truncate                  ( int64               offset,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

can_seek ()
    public    abstract bool             can_seek                  (  ) ;		

can_truncate ()
    public    abstract bool             can_truncate              (  ) ;		

seek ()
    public    abstract bool             seek                      ( int64               offset,
                                                                    SeekType            type,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

tell ()
    public    abstract int64            tell                      (  ) ;		

truncate_fn ()
    public    abstract bool             truncate_fn               ( int64               offset,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		


Created by Valadoc