fieldIdentifiersAreIDs

All widgets (derivatives of UIElement) have a string ID. mixin this code to automatically set widgets ID. It generates _member.id = "_member"; for every field that is @ScriptExport, in order to find them from Wren.

nothrow
string
fieldIdentifiersAreIDs
(
T
)
()

Examples

mixin(fieldIdentifiersAreIDs!MyPluginGUI);

Meta