Module dlangui.widgets.layouts
This module contains common layouts implementations.
Layouts are similar to the same in Android.
LinearLayout - either VerticalLayout or HorizontalLayout.
VerticalLayout - just LinearLayout with orientation=Orientation.Vertical
HorizontalLayout - just LinearLayout with orientation=Orientation.Horizontal
FrameLayout - children occupy the same place, usually one one is visible at a time
TableLayout - children aligned into rows and columns
ResizerWidget - widget to resize sibling widgets
Synopsis
import dlangui .widgets .layouts;
Interfaces
| Name | Description |
|---|---|
ResizeHandler
|
Classes
| Name | Description |
|---|---|
FrameLayout
|
place all children into same place (usually, only one child should be visible at a time)
|
HorizontalLayout
|
Arranges children horizontally |
LayoutItems
|
helper class for layouts |
LinearLayout
|
Arranges items either vertically or horizontally |
ResizerWidget
|
Resizer control.
Put it between other items in LinearLayout to allow resizing its siblings.
While dragging, it will resize previous and next children in layout.
|
TableLayout
|
layout children as table with rows and columns
|
VerticalLayout
|
Arranges children vertically |
Structs
| Name | Description |
|---|---|
LayoutItem
|
helper for layouts |
Enums
| Name | Description |
|---|---|
ResizerEventType
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0