UIElement.setId

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.

class UIElement
nothrow @nogc final pure
void
setId
(
const(char)[] identifier
)

Meta