class

CArcWindow

Module
Arc
Header
#include "Arc/Framework/CArcWindowManager.h"
Namespace
Arcf

Public functions

ReturnsNameDescription
uint32_tGetID
IArcPlatformWindow*GetPlatformWindow
IArcRHISwapChain*GetSwapChain
CArcUIRenderer*GetRenderer
const CArcUIRenderer*GetRenderer
voidSetRootWidget
TSharedPtr<AWidget>GetRootWidget
CArcInputProcessor&GetInputProcessor
uint32_tGetWidth
uint32_tGetHeight
boolIsFocused
boolIsMinimized
voidSetTitle
voidClose
boolShouldClose
voidSetCloseOnEscapeDialog keyboard contract for secondary windows: when the focused widget leaves the key unhandled, Escape closes (same path as the OS titlebar X — owners already poll ShouldClose) and Enter fires the default action.
voidSetDefaultAction
voidSetHitTestCallbackHit test for custom window frames (borderless)
boolIsPopupTrue for the borderless topmost popup windows hosting menus and tooltips — they paint only their root widget, never the per-window chrome (tooltips, toasts, modals, menu overlays).
uint64_tGetPresentCountFrames this window has handed to its swapchain's present.

Function details

GetID

C++
uint32_t GetID() const

GetPlatformWindow

C++
IArcPlatformWindow* GetPlatformWindow() const

GetSwapChain

C++
IArcRHISwapChain* GetSwapChain() const

GetRenderer

C++
CArcUIRenderer* GetRenderer()

GetRenderer

C++
const CArcUIRenderer* GetRenderer() const

SetRootWidget

C++
void SetRootWidget(TSharedPtr<AWidget> widget)

GetRootWidget

C++
TSharedPtr<AWidget> GetRootWidget() const

GetInputProcessor

C++
CArcInputProcessor& GetInputProcessor()

GetWidth

C++
uint32_t GetWidth() const

GetHeight

C++
uint32_t GetHeight() const

IsFocused

C++
bool IsFocused() const

IsMinimized

C++
bool IsMinimized() const

SetTitle

C++
void SetTitle(const std::string& title)

Close

C++
void Close()

ShouldClose

C++
bool ShouldClose() const

SetCloseOnEscape

C++
void SetCloseOnEscape(bool close)

Dialog keyboard contract for secondary windows: when the focused widget leaves the key unhandled, Escape closes (same path as the OS titlebar X — owners already poll ShouldClose) and Enter fires the default action. Both opt-in so tool windows (tear-off floats) keep their keys.

SetDefaultAction

C++
void SetDefaultAction(std::function<void()> action)

SetHitTestCallback

C++
void SetHitTestCallback(ArcHitTestCallback callback)

Hit test for custom window frames (borderless)

IsPopup

C++
bool IsPopup() const

True for the borderless topmost popup windows hosting menus and tooltips — they paint only their root widget, never the per-window chrome (tooltips, toasts, modals, menu overlays).

GetPresentCount

C++
uint64_t GetPresentCount() const

Frames this window has handed to its swapchain's present. Counted on whichever thread presents, so a reader compares two samples, not a single value against the frame number.

Generated from Arc/Framework/CArcWindowManager.h via arc.json · Nov 5, 2026Version 1.0.0