reckfellENGINE

PopupPanel

Popup window with themed background and a content area.

On this page
class PopupPanelReckfellSharpInherits Popup

Inherits Popup and draws the theme panel style. Configure a StyleBox through Theme or AddThemeStyleboxOverride("panel", style). The internal Panel belongs to the window; do not find it by child index or free separately.

Add one root Container and put elements inside it. Direct non-top-level Controls all receive the same content area, so separate siblings can overlap. Minimum size is the componentwise maximum of children plus style margins rather than their sum; your Container handles vertical/horizontal layout.

Rounded/shadowed StyleBoxFlat styling needs appropriate window transparency. PopupPanel requests Transparent, which does not prove platform support. For a separate native window account for display/window/per_pixel_transparency/allowed and display-server support; embedded windows use a different path. Without transparency, shadows/corners can look different.

A shadow can enlarge the window beyond the main panel; content coordinates and outer window rectangle need not coincide. Clicking outside the main panel, including its shadow area, can dismiss the popup. PopupHide still reports hiding without a confirmation result. Content is owned by PopupPanel and freed with it.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

PopupPanelConstructor
# PopupPanel
C#
public PopupPanel();

Creates a hidden Popup with internal panel background and requested Transparent. Does not guarantee platform transparency/shadow support.

Theme properties

These are Theme resource keys, not C# properties. Use the matching Control GetTheme…() and AddTheme…Override() methods for each value type.

Key and typeDescription
panel
StyleBox

StyleBox for the background panel.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.