Skip to content

Class: cWebWidgetPalette

Properties | Events | Methods | Index of Classes

Convenience class meant to be used in conjunction with a cWebWidgetContainer.

Hierarchy

Library

Web Application Class Library

Package

cWebWidgetPalette.pkg

Description

The cWebWidgetPalette is a convenience class, meant to be used in conjunction with a cWebWidgetContainer.

It aims to provide an all-in-one solution for the end user to add new cWebWidgets to the container.

The cWebWidgetPalette is a pre-styled list that attaches to a cWebWidgetContainer and comes with built-in Drag & Drop support (optional, but turned on by default). It uses the container's list of registered widgets to fill its own list, from which the user can then drag these list items onto the container to directly create new instances.

Connect the cWebWidgetPalette to a cWebWidgetContainer by setting the phoWidgetContainer to the respective container object.