Intermec ck1 Reference Guide

Page of 390
Chapter 4 — SDK Components 
146 
CK1 SDK Programmer’s Reference Manual 
otk_cell_box_init 
 
Purpose:  Initialize the instance to be an OtkCellBox widget. 
 
Prototype: 
void otk_cell_box_init (OtkCellBox* cellbox);
 
 
Parameter:  cellbox 
Pointer to the real instance 
 
Return: None 
otk_cell_box_set_cells 
 
Purpose:  Assign the number of columns, rows, and arrays of cells for the specified 
OtkCellBox widget. 
 
Prototype: 
void otk_cell_box_set_cells(OtkCellBox* cellbox, int col
int row, OtkCell* cell); 
 
Parameter:  cellbox 
Pointer to the real instance 
col 
Number of columns the widget should have 
row 
Number of rows the widget should have 
cell 
OtkCell array of cells for the widget. There should be enough 
cells in the array in accordance with the specified number of 
columns and rows. 
 
Return: None 
otk_cell_box_clear_selected 
 
Purpose:  Clear the information of the cell selected for the specified OtkCellBox 
widget. 
 
Prototype: 
void otk_cell_box_clear_selected (OtkCellBox* cellbox);
 
 
Parameter:  cellbox 
Pointer to the real instance 
 
Return: None 
otk_cell_box_get_selected_column 
 
Purpose:  Get the column index of the cell selected from the specified OtkCellBox 
widget. 
 
Prototype: 
int otk_cell_box_get_selected_column(OtkCellBox* 
cellbox);
 
 
Parameter:  cellbox 
Pointer to the real instance 
 
Return:  Column index of the cell selected