UIElement.id

Set widget ID.

All UIElement may have a string as unique identifier like in HTML.

This identifier is supposed to be unique. If it isn't, a search by ID will be Undefined Behaviour.

  1. void id(const(char)[] identifier)
    class UIElement
    nothrow @nogc final
    void
    id
    (
    const(char)[] identifier
    )
  2. const(char)[] id()

Meta