gda.column

Module for [Column] class

Types 3

Methods
GType _gType() @property
Column self()Returns `this`, for use in `with` statements.
ColumnGidBuilder builder()Get builder for [gda.column.Column] Returns: New builder object
string id() @property
void id(string propval) @property
gda.column.Column copy()Creates a new #GdaColumn object from an existing one. Returns: a newly allocated #GdaColumn with a copy of the data in column.
bool getAllowNull()Gets the 'allow null' flag of the given column. Returns: whether the given column allows null values or not (true or false).
gobject.value.Value getAttribute(string attribute)Get the value associated to a named attribute.
string getDbmsType()
string getName()
void setAllowNull(bool allow)Sets the 'allow null' flag of the given column.
void setAttribute(string attribute, gobject.value.Value value = null, glib.types.DestroyNotify destroy = null)Set the value associated to a named attribute. The attribute string is 'stolen' by this method, and the memory it uses will be freed using the destroy function when no longer needed (if destroy is ...
void setAutoIncrement(bool isAuto)Sets the auto increment flag for the given column.
void setDbmsType(string dbmsType)Defines column's database type
void setDefaultValue(gobject.value.Value defaultValue = null)Sets column's default #GValue.
void setDescription(string title)Sets the column's description
void setGType(gobject.types.GType type)Sets the type of column to type.
void setName(string name)Sets the name of column to name.
void setPosition(int position)Sets the position of the column refer to in the containing data model.
gulong connectGTypeChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gobject.types.GType))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gobject.types.GType))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gda.column.Column))) && Parameters!T.length < 4)Connect to `GTypeChanged` signal.
gulong connectNameChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.column.Column))) && Parameters!T.length < 3)Connect to `NameChanged` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gda.column.Column]

Methods
Column build()