Class: ImGuiSelectionExternalStorage

Inherits:
FFI::Struct
  • Object
show all
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

.createObject



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

#destroyObject



2398
2399
2400
# File 'lib/imgui.rb', line 2398

def destroy()
  ImGui::ImGuiSelectionExternalStorage_destroy(self)
end