The OpenD Programming Language

Widget.dynamicState

List of dynamic states made available to the style engine, for cases like CSS pseudo-classes and also used by default paint methods. It is stored in a 64 bit variable attached to the widget that you can update. The style cache is aware of the fact that these can frequently change.

The lower 32 bits are defined here or reserved for future use by the library. You should keep these updated if you reasonably can on custom widgets if they apply to you, but don't use them for a purpose they aren't defined for.

The upper 32 bits are available for your own extensions.

  1. ulong dynamicState [@property getter]
    class Widget
    @property
    ulong
    dynamicState
    ()
  2. ulong dynamicState [@property setter]

Meta

History

Added May 10, 2021