Gda.TreeMgrColumns

g GObject.Object GObject.Object Gda.TreeManager Gda.TreeManager GObject.Object->Gda.TreeManager Gda.TreeMgrColumns Gda.TreeMgrColumns Gda.TreeManager->Gda.TreeMgrColumns

Subclasses:None

Methods

Inherited:Gda.TreeManager (5), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (cnc, schema, table_name)

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:Gda.TreeManager (2)
Name Type Flags Short Description
connection Gda.Connection r/w/co Connection to use
meta-store Gda.MetaStore r/w/co Gda.MetaStore to use
schema str w/co Database schema’name in which the table is
table-name str w/co Database table’s name

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
object Gda.TreeManager r  

Class Details

class Gda.TreeMgrColumns(**kwargs)
Bases:Gda.TreeManager
Abstract:No
Structure:Gda.TreeMgrColumnsClass
classmethod new(cnc, schema, table_name)
Parameters:
Returns:

a new Gda.TreeManager object

Return type:

Gda.TreeManager

Creates a new Gda.TreeManager object which will add one tree node for each column in the table named table_name in the schema schema.

New in version 4.2.

Property Details

Gda.TreeMgrColumns.props.connection
Name:connection
Type:Gda.Connection
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

Defines the Gda.Connection to display information for. Necessary upon construction unless the Gda.TreeMgrColumns :meta-store property is specified instead.

Gda.TreeMgrColumns.props.meta_store
Name:meta-store
Type:Gda.MetaStore
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

Defines the Gda.MetaStore to extract information from. Necessary upon construction unless the Gda.TreeMgrColumns :connection property is specified instead. This property has priority over the Gda.TreeMgrColumns :connection property.

New in version 4.2.4.

Gda.TreeMgrColumns.props.schema
Name:schema
Type:str
Default Value:None
Flags:WRITABLE, CONSTRUCT_ONLY

If no set, then the table name will be fetched from the parent node using the “schema” attribute

Gda.TreeMgrColumns.props.table_name
Name:table-name
Type:str
Default Value:None
Flags:WRITABLE, CONSTRUCT_ONLY

If no set, then the table name will be fetched from the parent node using the “table_name” attribute