Class: ImGuiSelectionExternalStorage
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImGuiSelectionExternalStorage
- Defined in:
- lib/imgui.rb
Overview
Optional helper to apply multi-selection requests to existing randomly accessible storage. Convenient if you want to quickly wire multi-select API on e.g. an array of bool or items storing their own selection state.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create ⇒ Object
2510 2511 2512 |
# File 'lib/imgui.rb', line 2510 def self.create() return ImGuiSelectionExternalStorage.new(ImGui::ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage()) end |
Instance Method Details
#ApplyRequests(ms_io) ⇒ Object
2506 2507 2508 |
# File 'lib/imgui.rb', line 2506 def ApplyRequests(ms_io) ImGui::ImGuiSelectionExternalStorage_ApplyRequests(self, ms_io) end |
#destroy ⇒ Object
2514 2515 2516 |
# File 'lib/imgui.rb', line 2514 def destroy() ImGui::ImGuiSelectionExternalStorage_destroy(self) end |