Struct tuix_internal::Builder [−][src]
Expand description
Contains an entity id and a mutable reference to state and can be used to set properties of a widget at build time
Fields
entity: Entity
state: &'a mut State
Implementations
Sets the general callback for pressing a widget
Sets the element name of the entity
Sets whether the entity can be hovered
Sets whether the entity can be focused
Sets the opacity of the entity
Sets the checked state of the entity
Sets the z-order of the entity
Sets the clip widget of the entity. The clip bounds of the entity are set to the bounds of the clip widget
Sets the display type of the entity