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
2394 2395 2396 |
# File 'lib/imgui.rb', line 2394 def self.create() return ImGuiSelectionExternalStorage.new(ImGui::ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage()) end |
Instance Method Details
#ApplyRequests(ms_io) ⇒ Object
2390 2391 2392 |
# File 'lib/imgui.rb', line 2390 def ApplyRequests(ms_io) ImGui::ImGuiSelectionExternalStorage_ApplyRequests(self, ms_io) end |
#destroy ⇒ Object
2398 2399 2400 |
# File 'lib/imgui.rb', line 2398 def destroy() ImGui::ImGuiSelectionExternalStorage_destroy(self) end |