GdaTreeMgrColumns

GdaTreeMgrColumns

Synopsis

struct              GdaTreeMgrColumns;
GdaTreeManager *    gda_tree_mgr_columns_new            (GdaConnection *cnc,
                                                         const gchar *schema,
                                                         const gchar *table_name);

Object Hierarchy

  GObject
   +----GdaTreeManager
         +----GdaTreeMgrColumns

Properties

  "connection"               GdaConnection*        : Read / Write / Construct Only
  "meta-store"               GdaMetaStore*         : Read / Write / Construct Only
  "schema"                   gchar*                : Write / Construct Only
  "table-name"               gchar*                : Write / Construct Only

Description

Details

struct GdaTreeMgrColumns

struct GdaTreeMgrColumns;


gda_tree_mgr_columns_new ()

GdaTreeManager *    gda_tree_mgr_columns_new            (GdaConnection *cnc,
                                                         const gchar *schema,
                                                         const gchar *table_name);

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

cnc :

a GdaConnection object

schema :

a schema name

table_name :

the name of the table

Returns :

a new GdaTreeManager object. [transfer full]

Since 4.2

Property Details

The "connection" property

  "connection"               GdaConnection*        : Read / Write / Construct Only

Defines the GdaConnection to display information for. Necessary upon construction unless the "meta-store" property is specified instead.


The "meta-store" property

  "meta-store"               GdaMetaStore*         : Read / Write / Construct Only

Defines the GdaMetaStore to extract information from. Necessary upon construction unless the "connection" property is specified instead. This property has priority over the GdaTreeMgrColumns:connection property.

Since 4.2.4


The "schema" property

  "schema"                   gchar*                : Write / Construct Only

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

Default value: NULL


The "table-name" property

  "table-name"               gchar*                : Write / Construct Only

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

Default value: NULL