struct ImGui::ImGuiSizeCallbackData

Overview

struct ImGuiSizeCallbackData

Included Modules

Defined in:

obj.cr

Instance Method Summary

Instance Method Detail

def current_size : ImVec2 #

Read-only. Current window size.


[View source]
def current_size=(current_size : ImVec2) #

[View source]
def desired_size : ImVec2 #

Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing.


[View source]
def desired_size=(desired_size : ImVec2) #

[View source]
def pos : ImVec2 #

Read-only. Window position, for reference.


[View source]
def pos=(pos : ImVec2) #

[View source]
def to_unsafe : Pointer(T) #

[View source]
def user_data : Pointer(Void) #

Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>).


[View source]
def user_data=(user_data : Pointer(Void)) #

[View source]