Skip to content

StyleController

Class | orca.core

Manages CSS-style classes and stylesheet rules for an object.

Overview

Properties

Property Type Description
StyleSheet StyleSheet The StyleSheet object that supplies style rules for this object. Rules are matched by selector against the object's class list. If NULL, only the global static stylesheet is used.

Messages

ThemeChanged

Applies styles to this object.

Field Type Description
recursive bool When TRUE, also sends ThemeChanged to every direct child

AddClass

Adds single styling class

Field Type Description
ClassName string Name of the class to add

AddClasses

Adds multiple styling classes

Field Type Description
ClassNames string Space-separated list of class names to add