fluid.structs

Members

Enums

NodeAlign
enum NodeAlign
Undocumented in source.
NodeTag
enum NodeTag

Tags are optional "marks" left on nodes that are used to apply matching styles. Tags closely resemble HTML classes.

isNodeParam
eponymoustemplate isNodeParam(T, NodeType = Node)

Check if the given type implements node parameter interface.

isSomeEnum
eponymoustemplate isSomeEnum(alias tag)

Test if the given symbol is an enum, or an enum member.

Functions

disabled
auto disabled(bool value)

This node property will disable the subject, setting the isHidden field to true.

hidden
auto hidden(bool value)

This node property will make the subject hidden, setting the isHidden field to true.

ignoreMouse
auto ignoreMouse(bool value)

This node property will disable mouse input on the given node.

layout
Layout layout(uint expand, NodeAlign alignX, NodeAlign alignY)
Layout layout(uint expand, NodeAlign align_)
Layout layout(NodeAlign alignX, NodeAlign alignY)
Layout layout(NodeAlign align_)
Layout layout(uint expand)

Create a new layout

layout
Layout layout()

CTFE version of the layout constructor, allows using strings instead of enum members, to avoid boilerplate.

tagID
TagID tagID()
Undocumented in source.
tags
TagList tags()

Specify tags for the next node to add.

Structs

Layout
struct Layout

Node parameter for setting the node layout.

TagID
struct TagID

Unique ID of a node tag.

TagList
struct TagList

Node parameter assigning a new set of tags to a node.

Templates

isNodeTag
template isNodeTag(alias tag)

Check if the given item is a node tag.

Meta