Home  /  Autodocs  /  ListBrowser.gadget

NAME

GetLBColumnInfoAttrsA
Get column info attributes. (V45)

SYNOPSIS

LONG result = GetLBColumnInfoAttrsA(struct ColumnInfo *ci,
struct TagItem *tags);

LONG result = GetLBColumnInfoAttrs(struct ColumnInfo *ci,
Tag tag1, ...);

FUNCTION

Gets attributes for a ColumnInfo structure in a future friendly manner.

TAGS

The following tags listed in SetLBColumnInfoAttrsA() are supported:

LBCIA_Column (WORD)
no info yet

LBCIA_Title (CONST_STRPTR)
no info yet

LBCIA_Weight (WORD)
no info yet

LBCIA_Width (WORD)
no info yet

LBCIA_Flags (ULONG)
no info yet

LBCIA_SortDirection (ULONG)
no info yet

LBCIA_UserData (APTR)
no info yet

INPUTS

ci
Pointer to ColumnInfo array to get the information from. Safe to call with a NULL pointer.

tags
A tag list of attributes to get. Each ti_Tag is the attribute to get and ti_Data is a pointer to a location to copy the result into. Safe to call with a NULL pointer.

RESULT

result
The actual number of attributes retrieved.

NOTES

Do not forget that the ti_Data pointer must point to a ULONG sized storage location no matter what type you are getting.

SEE ALSO

AllocLBColumnInfoA(), SetLBColumnInfoAttrsA()