gda.column
Module for [Column] class
Types 3
classColumn : gobject.object.ObjectWrap
Methods
Column self()Returns `this`, for use in `with` statements.ColumnGidBuilder builder()Get builder for [gda.column.Column] Returns: New builder objectstring id() @propertyvoid id(string propval) @propertygda.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.bool getAutoIncrement()string getDbmsType()string getDescription()string getName()int getPosition()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 typevoid setDefaultValue(gobject.value.Value defaultValue = null)Sets column's default #GValue.void setDescription(string title)Sets the column's descriptionvoid 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.Methods
T id(string propval)Fluent builder for [gda.column.Column]
Methods
Column build()