---
name: "Tickit::SingleChildWidget"
section: "3pm"
platform: "linux"
package: "libtickit-widgets-perl"
version: "0.42-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tickit::SingleChildWidget"
---

# Tickit::SingleChildWidget(3pm)

abstract base class for widgets that contain a single other widget

## NAME

"Tickit::SingleChildWidget" - abstract base class for widgets that contain a single other widget

## SYNOPSIS

```
 TODO
```

## DESCRIPTION

This subclass of Tickit::ContainerWidget acts as an abstract base class for widgets that contain exactly one other widget. It enforces that only one child widget may be contained at any one time, and provides a convenient accessor to obtain it.

## CONSTRUCTOR

### new

```
   $widget = Tickit::SingleChildWidget->new( %args );
```

Constructs a new `"Tickit::SingleChildWidget"` object.

## AUTHOR

Paul Evans \<leonerd@leonerd.org.uk\>
