Class: ImGuiPayload

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Overview

Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload()

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.createObject



2372
2373
2374
# File 'lib/imgui.rb', line 2372

def self.create()
  return ImGuiPayload.new(ImGui::ImGuiPayload_ImGuiPayload())
end

Instance Method Details

#ClearObject



2368
2369
2370
# File 'lib/imgui.rb', line 2368

def Clear()
  ImGui::ImGuiPayload_Clear(self)
end

#destroyObject



2388
2389
2390
# File 'lib/imgui.rb', line 2388

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

#IsDataType(type) ⇒ Object



2376
2377
2378
# File 'lib/imgui.rb', line 2376

def IsDataType(type)
  ImGui::ImGuiPayload_IsDataType(self, type)
end

#IsDeliveryObject



2380
2381
2382
# File 'lib/imgui.rb', line 2380

def IsDelivery()
  ImGui::ImGuiPayload_IsDelivery(self)
end

#IsPreviewObject



2384
2385
2386
# File 'lib/imgui.rb', line 2384

def IsPreview()
  ImGui::ImGuiPayload_IsPreview(self)
end