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



2378
2379
2380
# File 'lib/imgui.rb', line 2378

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

Instance Method Details

#ClearObject



2374
2375
2376
# File 'lib/imgui.rb', line 2374

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

#destroyObject



2394
2395
2396
# File 'lib/imgui.rb', line 2394

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

#IsDataType(type) ⇒ Object



2382
2383
2384
# File 'lib/imgui.rb', line 2382

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

#IsDeliveryObject



2386
2387
2388
# File 'lib/imgui.rb', line 2386

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

#IsPreviewObject



2390
2391
2392
# File 'lib/imgui.rb', line 2390

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