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



2056
2057
2058
# File 'lib/imgui.rb', line 2056

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

Instance Method Details

#ClearObject



2052
2053
2054
# File 'lib/imgui.rb', line 2052

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

#destroyObject



2072
2073
2074
# File 'lib/imgui.rb', line 2072

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

#IsDataType(type) ⇒ Object



2060
2061
2062
# File 'lib/imgui.rb', line 2060

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

#IsDeliveryObject



2064
2065
2066
# File 'lib/imgui.rb', line 2064

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

#IsPreviewObject



2068
2069
2070
# File 'lib/imgui.rb', line 2068

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