UIElement.getId

Get widget ID.

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

class UIElement
nothrow @nogc final pure
const(char)[]
getId
()

Return Value

Type: const(char)[]

The widget identifier, or "" if no ID. The result is an interior slice, that is invalidated if the ID is reassigned.

Meta