The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Widget.ClassList
arsd
minigui
Widget
API for the
styleClassList
class
Widget
static
struct
ClassList {
void
add
(string s);
void
remove
(string s);
bool
toggle
(string s);
bool
contains
(string s);
}
Members
Functions
add
void
add
(string s)
contains
bool
contains
(string s)
remove
void
remove
(string s)
toggle
bool
toggle
(string s)
Returns true if it was added, false if it was removed.
Meta
Source
See Implementation
arsd
minigui
Widget
classes
Style
constructors
this
enums
DynamicState
functions
addChild
addDirectEventListener
addEventListener
addScrollPosition
addedTo
attachedToWindow
borderBoxForContentBox
currentDpi
defaultEventHandler_blur
defaultEventHandler_change
defaultEventHandler_char
defaultEventHandler_click
defaultEventHandler_dblclick
defaultEventHandler_focus
defaultEventHandler_focusin
defaultEventHandler_focusout
defaultEventHandler_keydown
defaultEventHandler_keyup
defaultEventHandler_mousedown
defaultEventHandler_mouseenter
defaultEventHandler_mouseleave
defaultEventHandler_mousemove
defaultEventHandler_mouseout
defaultEventHandler_mouseover
defaultEventHandler_mouseup
defaultEventHandler_triggered
defaultTextHeight
disabledBy
dpiChanged
draw
emit
encapsulatedChildren
erase
flexBasisHeight
flexBasisWidth
focus
getByName
getChildAtPosition
getChildByName
getComputedStyle
getPropertiesList
getPropertyAsString
globalCoordinates
handleWmCommand
handleWmNotify
heightShrinkiness
hidden
hide
isFocused
newParentWindow
paint
paintContent
privatePaint
redraw
registerMovement
removeAllChildren
removeEventListener
removeWidget
scaleWithDpi
setDynamicState
setPropertyFromString
setupDefaultEventHandlers
show
showing
styleClassList
styleTagName
subscribe
useStyleProperties
widgetRemoved
widthShrinkiness
mixin templates
OverrideStyle
properties
children
disabledReason
dynamicState
enabled
height
parent
parentWindow
width
structs
ClassList
variables
defaultEventHandlers
defaultMargin
defaultPadding
hwnd
name
statusTip
tabOrder
tabStop
x
y
API for the styleClassList