ListWidget

version(custom_widgets)
class ListWidget : ScrollableWidget {
Option[] options;
bool multiSelect;
}

Inherited Members

From ScrollableWidget

viewportWidth
int viewportWidth [@property getter]
viewportHeight
int viewportHeight [@property getter]
scrollOrigin
const(Point) scrollOrigin()
contentWidth
int contentWidth()
contentHeight
int contentHeight()
setContentSize
void setContentSize(int width, int height)
verticalScroll
void verticalScroll(int delta)
verticalScrollTo
void verticalScrollTo(int pos)
horizontalScroll
void horizontalScroll(int delta)
horizontalScrollTo
void horizontalScrollTo(int pos)
scrollTo
void scrollTo(Point p)
ensureVisibleInScroll
void ensureVisibleInScroll(Point p)
ensureVisibleInScroll
void ensureVisibleInScroll(Rectangle rect)
viewportRectangle
Rectangle viewportRectangle()
showingHorizontalScroll
bool showingHorizontalScroll()
showingVerticalScroll
bool showingVerticalScroll()
paintFrameAndBackground
void paintFrameAndBackground(ScreenPainter painter)

This is called before the ordinary paint delegate, giving you a chance to draw the window frame, etc, before the scroll clip takes effect

Meta

Suggestion Box / Bug Report