将光标移向指定项目。
self
此方法操作的 ImGuiListClipper 句柄。
item_index
要包含或定位到的从零开始的项索引,须在裁剪器项数范围内。
在步进过程中自动调用。
事先不知道项目总数时,可使用 ImGui.ListClipper_Begin(self, 2147483647)。
ImGui.ListClipper_Begin(self, 2147483647)
此时所有步进完成后,应调用 ImGui.ListClipper_SeekCursorForItem(self, item_count)。
ImGui.ListClipper_SeekCursorForItem(self, item_count)
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
将光标移向指定项目。