Womb.Gtk : Womb.Gtk Namespace
AtomTabColumn

A column in an Womb.Gtk.AtomTab

public sealed class AtomTabColumn : Gtk.TreeViewColumn


Remarks
To be added.
Members

See Also: Inherited members from Gtk.TreeViewColumn.

Properties
Bg [write-only]
string . Background colour of column
DataFunc [write-only]
Gtk.TreeCellDataFunc . Cell data function used to render cells.
Editable [write-only]
bool . Whether values in the column can be edited.
Fg [write-only]
string . Foreground colour of column
FontScale
double . Font size
FontUnderLine
Pango.Underline . Underline mode
FontVariant
Pango.Variant . Font variant
FontWeight
int . Font weight
FormatString [write-only]
string . Format string
MassageFunc [write-only]
DataMassageFunc . Function used for massaging input
ValidationFunc [write-only]
DataValidationFunc . Function used for validating input
Values [read-only]
object[]. Returns an array with all values in the column
Xalign
float . Horizontal text alignment
Xpad
uint . Horizontal text padding
Yalign
float . Vertical text alignment
Ypad
uint . Vertical text padding
Member Details
Values
public object[] Values { get; }

Returns an array with all values in the column

Value
A Array containing values for all rows in this column
Remarks
To be added.

Editable
public bool Editable { set; }

Whether values in the column can be edited.

Value
To be added.
Remarks
To be added.

FontVariant
public Pango.Variant FontVariant { set; get; }

Font variant

Value
To be added.
Remarks
To be added.

FontUnderLine
public Pango.Underline FontUnderLine { set; get; }

Underline mode

Value
To be added.
Remarks
To be added.

FontScale
public double FontScale { set; get; }

Font size

Value
To be added.
Remarks
To be added.

FontWeight
public int FontWeight { set; get; }

Font weight

Value
To be added.
Remarks
To be added.

Xalign
public float Xalign { set; get; }

Horizontal text alignment

Value
To be added.
Remarks
To be added.

Yalign
public float Yalign { set; get; }

Vertical text alignment

Value
To be added.
Remarks
To be added.

Xpad
public uint Xpad { set; get; }

Horizontal text padding

Value
To be added.
Remarks
To be added.

Ypad
public uint Ypad { set; get; }

Vertical text padding

Value
To be added.
Remarks
To be added.

Bg
public string Bg { set; }

Background colour of column

Value
To be added.
Remarks
To be added.

Fg
public string Fg { set; }

Foreground colour of column

Value
To be added.
Remarks
To be added.

DataFunc
public Gtk.TreeCellDataFunc DataFunc { set; }

Cell data function used to render cells.

Value
To be added.
Remarks
To be added.

ValidationFunc
public DataValidationFunc ValidationFunc { set; }

Function used for validating input

Value
Remarks
If set, this method will be called whenever a new value is inserted into a cell.

Note:

Use a Womb.Gtk.DataValidationFunc only if you need custom validation of data entered (ie to accept only a valid range, or forbid particular characters, etc). Basic data validation is done automatically by Womb.Gtk.AtomTab taking data type and attributes into account.


MassageFunc
public DataMassageFunc MassageFunc { set; }

Function used for massaging input

Value
Remarks
If set, this method will be called to transform input whenever a value is inserted into a cell.

Note:

Data is processed prior to validation. Basic data validation is done automatically by Womb.Gtk.AtomTab taking data type and attributes into account.

Note:

This property is not valid for cells of type boolean or dict-bound integer, and will be ignored


FormatString
public string FormatString { set; }

Format string

Value
The format string that will be used when calling ToString () on the cell value for display.
Remarks
This property is useful for numeric and date cells.