class
CArcWindow
- Module
- Arc
- Header
#include "Arc/Framework/CArcWindowManager.h"- Namespace
Arcf
Public functions
| Returns | Name | Description |
|---|---|---|
uint32_t | GetID | |
IArcPlatformWindow* | GetPlatformWindow | |
IArcRHISwapChain* | GetSwapChain | |
CArcUIRenderer* | GetRenderer | |
const CArcUIRenderer* | GetRenderer | |
void | SetRootWidget | |
TSharedPtr<AWidget> | GetRootWidget | |
CArcInputProcessor& | GetInputProcessor | |
uint32_t | GetWidth | |
uint32_t | GetHeight | |
bool | IsFocused | |
bool | IsMinimized | |
void | SetTitle | |
void | Close | |
bool | ShouldClose | |
void | SetCloseOnEscape | 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. |
void | SetDefaultAction | |
void | SetHitTestCallback | Hit test for custom window frames (borderless) |
bool | IsPopup | 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). |
uint64_t | GetPresentCount | Frames this window has handed to its swapchain's present. |
Function details
GetID
C++
uint32_t GetID() constGetPlatformWindow
C++
IArcPlatformWindow* GetPlatformWindow() constGetSwapChain
C++
IArcRHISwapChain* GetSwapChain() constGetRenderer
C++
CArcUIRenderer* GetRenderer()GetRenderer
C++
const CArcUIRenderer* GetRenderer() constSetRootWidget
C++
void SetRootWidget(TSharedPtr<AWidget> widget)GetRootWidget
C++
TSharedPtr<AWidget> GetRootWidget() constGetInputProcessor
C++
CArcInputProcessor& GetInputProcessor()GetWidth
C++
uint32_t GetWidth() constGetHeight
C++
uint32_t GetHeight() constIsFocused
C++
bool IsFocused() constIsMinimized
C++
bool IsMinimized() constSetTitle
C++
void SetTitle(const std::string& title)Close
C++
void Close()ShouldClose
C++
bool ShouldClose() constSetCloseOnEscape
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() constTrue 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() constFrames 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