tabIndexSet
Set the tab order for this widget. tab_index values are visited starting
with 1 and going up.
A zero tab_index means this function does nothing and the widget is not
added to the tab order.
A null tab_index means it will be visited after all normal values. All
null widgets are visited in order of calling tabIndexSet.
If inside a FocusGroupWidget, tab_index controls order traversed by arrow
keys instead of tab.
Only valid between Window.beginand Window.end.
Parameters
- widget_id:Id
- Id
- tab_index:?u16
- ?u16
- rect:?Rect.Physical
- ?Rect.Physical
Source
Implementation
pub fn tabIndexSet(widget_id: Id, tab_index: ?u16, rect: ?Rect.Physical) void {
tabIndexSetEx(widget_id, tab_index, rect, false);
}