Panel

Inherits: Control < CanvasItem < Node < Object

Provides an opaque background for Control children.

Description

Panel is a Control that displays an opaque background. It's commonly used as a parent and container for other types of Control nodes.

Properties

Mode

mode

0

Theme Properties

StyleBox

panel

StyleBox

panel_fg

Enumerations

enum Mode:

  • MODE_BACKGROUND = 0

  • MODE_FOREGROUND = 1

Property Descriptions

Default

0

Setter

set_mode(value)

Getter

get_mode()

Theme Property Descriptions

The style of this Panel.