Intermec ck1 Reference Guide
Chapter 4 — SDK Components
CK1 SDK Programmer’s Reference Manual
157
otk_list_set_column_titles
Purpose: Set the titles for the specified OtkList widget.
Prototype:
void otk_list_set_column_titles (OtkList* list, char*
titles);
Parameters: list
Pointer to the real instance
titles
A string array. There should be enough strings in the array in
accordance with the number of columns of the specified OtkList
widget.
accordance with the number of columns of the specified OtkList
widget.
Return: None
otk_list_set_column_title
Purpose: Set the specified title for the specified OtkList widget.
Prototype:
void otk_list_set_column_title (OtkList* list, int col,
char* title);
Parameters: list
Pointer to the real instance
col
Index for the specified column
title String
Return: None
otk_list_set_column_align
Purpose: Set where the text within the column size aligns to.
Prototype:
void otk_list_set_column_align (OtkList* list, int col,
OTK_ALIGN align);
Parameters: list
Pointer to the real instance
col
Index to the specified column
align
This can be one of the tree value: OTK_ALIGN_LEFT,
OTK_ALIGN_RIGHT, and OTK_ALIGN_CENTER
OTK_ALIGN_RIGHT, and OTK_ALIGN_CENTER
Return: None
otk_list_set_column_width
Purpose: Cause the column specified for the OtkList to be set to a specified width.
Prototype:
void otk_list_set_column_width (OtkList* list, int col,
int width);
Parameters: list
Pointer to the real instance