Lines Matching full:row
45 | Function : int set_top_row(MENU *menu, int row)
47 | Description : Makes the specified row the top row in the menu
50 | E_BAD_ARGUMENT - not a menu pointer or invalid row
54 set_top_row(MENU *menu, int row) in MENU_EXPORT()
56 T((T_CALLED("set_top_row(%p,%d)"), (void *)menu, row)); in MENU_EXPORT()
65 if ((row < 0) || (row > (menu->rows - menu->arows))) in MENU_EXPORT()
71 if (row != menu->toprow) in MENU_EXPORT()
78 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row]; in MENU_EXPORT()
81 _nc_New_TopRow_and_CurrentItem(menu, row, item); in MENU_EXPORT()
91 | Description : Return the top row of the menu
93 | Return Values : The row number or ERR if there is no row