setLimits
Change max row and col limits
Parameters
- self:*KeyboardNavigation
- *KeyboardNavigation
- max_cols:usize
- usize
- max_rows:usize
- usize
Source
Implementation
pub fn setLimits(self: *KeyboardNavigation, max_cols: usize, max_rows: usize) void {
self.num_cols = max_cols;
self.num_rows = max_rows;
self.enforceCursorLimits();
}