Gda.DataModelDir

g GObject.GInterface GObject.GInterface Gda.DataModel Gda.DataModel GObject.GInterface->Gda.DataModel GObject.Object GObject.Object Gda.DataModelDir Gda.DataModelDir GObject.Object->Gda.DataModelDir Gda.DataModel->Gda.DataModelDir

Subclasses:None

Methods

Inherited:GObject.Object (37), Gda.DataModel (43)
Structs:GObject.ObjectClass (5)
class new (basedir)
  clean_errors ()
  get_errors ()

Virtual Methods

Inherited:GObject.Object (7), Gda.DataModel (27)

Properties

Name Type Flags Short Description
basedir str r/w/co Base directory

Fields

Inherited:GObject.Object (1), Gda.DataModel (6)
Name Type Access Description
object GObject.Object r  

Class Details

class Gda.DataModelDir(**kwargs)
Bases:GObject.Object, Gda.DataModel
Abstract:No
Structure:Gda.DataModelDirClass
classmethod new(basedir)
Parameters:basedir (str) – a directory
Returns:a new Gda.DataModel
Return type:Gda.DataModel

Creates a new Gda.DataModel object to list all the files starting from basedir

clean_errors()

Reset the list of errors which have occurred while using self

get_errors()
Returns:a read-only list of GLib.Error pointers, or None if no error has occurred
Return type:[GLib.Error]

Get the list of errors which have occurred while using self

Property Details

Gda.DataModelDir.props.basedir
Name:basedir
Type:str
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

Base directory