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;

Public Imports

dlangui.widgets.widget
public import dlangui.widgets.widget;
Undocumented in source.

Members

Classes

FrameLayout
class FrameLayout

place all children into same place (usually, only one child should be visible at a time)

HorizontalLayout
class HorizontalLayout

Arranges children horizontally

LayoutItems
class LayoutItems

helper class for layouts

LinearLayout
class LinearLayout

Arranges items either vertically or horizontally

ResizerWidget
class 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
class TableLayout

layout children as table with rows and columns

VerticalLayout
class VerticalLayout

Arranges children vertically

Enums

ResizerEventType
enum ResizerEventType
Undocumented in source.

Interfaces

ResizeHandler
interface ResizeHandler
Undocumented in source.

Structs

LayoutItem
struct LayoutItem

helper for layouts

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com