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



2278
2279
2280
# File 'lib/imgui.rb', line 2278

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

Instance Method Details

#ClearObject



2274
2275
2276
# File 'lib/imgui.rb', line 2274

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

#destroyObject



2294
2295
2296
# File 'lib/imgui.rb', line 2294

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

#IsDataType(type) ⇒ Object



2282
2283
2284
# File 'lib/imgui.rb', line 2282

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

#IsDeliveryObject



2286
2287
2288
# File 'lib/imgui.rb', line 2286

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

#IsPreviewObject



2290
2291
2292
# File 'lib/imgui.rb', line 2290

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