Skip to main content
Version: 9.0.2

gr_context_get_column

#include <gre/gre.h>
int gr_context_get_column(
gr_action_context_t *action_context
);

The gr_context_get_column returns the column number of a table cell, if the action's context is a table cell.

The gr_context_get_column is used to get the column number of the table cell from the action context, if the control context of the action context is a table cell. If the control context of the action context is not a table cell, this function returns -1.

Parameters

ParameterTypeDescription
action_contextgr_action_context_t*The action context to get the column information from.

Returns

TypeDescription
intThe column number if the control context for the action context is a table cell, -1 otherwise.