Containers

Top  Previous  Next

Containers may may hold other components. Here is a list of containers supported by widget engine:

gb_component_panel

Panel

gb_component_layeredpane

Layered Panel

gb_component_tabbedpane

Tabbed Panel

gb_component_splitpane

Split Panel

Common Properties Of Containers

This chapter describes properties that are supported by most containers. The description for every container includes a list of supported common container properties.

Layout

This property defines the layout type of the container.

Property name: layout

Property type: Integer

Scrolling

This property defines when scrolling is enabled in the container's panels. It has the following options:

None. Both horizontal and vertical scrolling are disabled.
Vertical. Vertical scrolling is enabled, horizontal is disabled.
Horizontal. Horizontal scrolling is enabled, vertical is disabled.
Both. Both horizontal and vertical scrolling are enabled.

Property name: scrolling

Property type: Integer

Smart Scrollbar Policy

This property is available only when scrolling is set to Vertical, Horizontal or Both. It defines when scrollbars appear in the container. If this option is enabled, scrollbars appear only when the container contents does not fit its display area and actual scrolling may be required. If disabled, scrollbars are always visible.

Property name: scrollingAuto

Property type: Boolean