AFXColumnItems

This class connects the selected items in a single column of an AFXTable to a keyword (typically a tuple keyword).


AFXColumnItems(table, referenceColumn, opts=0)

Constructor.

ArgumentTypeDefaultDescription
tableAFXTable Table to use.
referenceColumnInt Index of the reference column.
optsInt0Selection options (not used).


AFXColumnItems(referenceColumn, tgt=None, sel=0, opts=0)

Constructor for use with a keyword.

ArgumentTypeDefaultDescription
referenceColumnInt Index of the reference column.
tgtFXObjectNoneMessage target.
selInt0Message ID.
optsInt0Selection options (not used).


getReferenceColumn()

Returns the index of the table reference column.


getSelector()

Returns the message ID.


getTarget()

Returns the message target.


setReferenceColumn(index)

Sets the table reference column, whose selected items will be sent to the target.

ArgumentTypeDefaultDescription
indexInt Table column index.


setSelector(sel)

Sets the message ID.

ArgumentTypeDefaultDescription
selInt New message ID.


setTarget(tgt)

Sets the message target.

ArgumentTypeDefaultDescription
tgtFXObject New message target.


Class flags

Message ID's.

ID_TABLE

Table ID.