dlangui.widgets.controls

This module contains simple controls widgets implementation.

More...

Members

Classes

Button
class Button

Text only button

CanvasWidget
class CanvasWidget

canvas widget - draw on it either by overriding of doDraw() or by assigning of onDrawListener

CheckBox
class CheckBox

checkbox

HSpacer
class HSpacer

horizontal spacer to fill empty space in horizontal layouts

ImageButton
class ImageButton

button with image only

ImageCheckButton
class ImageCheckButton

button with image working as trigger: check / uncheck occurs when pressing

ImageTextButton
class ImageTextButton

button with image and text

ImageWidget
class ImageWidget

static image widget

LinkButton
class LinkButton

button looking like URL, executing specified action

MultilineTextWidget
class MultilineTextWidget

static text widget with multiline text

RadioButton
class RadioButton

radio button

SwitchButton
class SwitchButton

Switch (on/off) widget

TextWidget
class TextWidget

static text widget

UrlImageTextButton
class UrlImageTextButton

button - url

VSpacer
class VSpacer

vertical spacer to fill empty space in vertical layouts

Interfaces

OnDrawHandler
interface OnDrawHandler

interface - slot for onClick

Detailed Description

TextWidget - static text

ImageWidget - image

Button - button with only text

ImageButton - button with only image

ImageTextButton - button with text and image

SwitchButton - switch widget

RadioButton - radio button

CheckBox - button with check mark

UrlImageTextButton - URL link button

CanvasWidget - for drawing arbitrary graphics

Note: ScrollBar and SliderWidget are moved to dlangui.widgets.scrollbar

Synopsis:

import dlangui.widgets.controls;

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com