14 layoutRoot =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/script_console/script_console_dialog_preset.layout");
15 m_Editbox =
EditBoxWidget.Cast(layoutRoot.FindAnyWidget(
"PrimaryEditBox"));
16 m_Label =
TextWidget.Cast(layoutRoot.FindAnyWidget(
"WindowLabel"));
17 m_Label.SetText(
"NEW PRESET");