Skip to main content
Version: 9.0.2

gr_context_get_row

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

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

gr_context_get_row is used to get the row 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 row information from.

Returns

The row number if control context for the action context is a table template, -1 otherwise