gda.column

Module for [Column] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Column self() nothrowReturns `this`, for use in `with` statements.
ColumnGidBuilder builder() static nothrowGet builder for [gda.column.Column] Returns: New builder object
string id() @property nothrow
void id(string propval) @property nothrow
gda.column.Column copy() nothrowCreates a new #GdaColumn object from an existing one. Returns: a newly allocated #GdaColumn with a copy of the data in column.
bool getAllowNull() nothrowGets 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) nothrowGet the value associated to a named attribute.
bool getAutoIncrement() nothrow
string getDbmsType() nothrow
string getDescription() nothrow
string getName() nothrow
int getPosition() nothrow
void setAllowNull(bool allow) nothrowSets the 'allow null' flag of the given column.
void setAttribute(string attribute, gobject.value.Value value = null, glib.types.DestroyNotify destroy = null) nothrowSet 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) nothrowSets the auto increment flag for the given column.
void setDbmsType(string dbmsType) nothrowDefines column's database type
void setDefaultValue(gobject.value.Value defaultValue = null) nothrowSets column's default #GValue.
void setDescription(string title) nothrowSets the column's description
void setGType(gobject.types.GType type) nothrowSets the type of column to type.
void setName(string name) nothrowSets the name of column to name.
void setPosition(int position) nothrowSets 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) nothrowConnect 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) nothrowConnect to `NameChanged` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gda.column.Column

Methods
T id(string propval) nothrow

Fluent builder for gda.column.Column

Methods
Column build() nothrowCreate object from builder. Returns: New object