enum Godot::Window::WindowInitialPosition

Defined in:

libgodot/generated/classes/classes_part1.cr

Enum Members

WindowInitialPositionAbsolute = 0_i64
WindowInitialPositionCenterPrimaryScreen = 1_i64
WindowInitialPositionCenterMainWindowScreen = 2_i64
WindowInitialPositionCenterOtherScreen = 3_i64
WindowInitialPositionCenterScreenWithMouseFocus = 4_i64
WindowInitialPositionCenterScreenWithKeyboardFocus = 5_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def window_initial_position_absolute? #

Returns true if this enum value equals WindowInitialPositionAbsolute


def window_initial_position_center_main_window_screen? #

Returns true if this enum value equals WindowInitialPositionCenterMainWindowScreen


def window_initial_position_center_other_screen? #

Returns true if this enum value equals WindowInitialPositionCenterOtherScreen


def window_initial_position_center_primary_screen? #

Returns true if this enum value equals WindowInitialPositionCenterPrimaryScreen


def window_initial_position_center_screen_with_keyboard_focus? #

Returns true if this enum value equals WindowInitialPositionCenterScreenWithKeyboardFocus


def window_initial_position_center_screen_with_mouse_focus? #

Returns true if this enum value equals WindowInitialPositionCenterScreenWithMouseFocus