MCPcopy Create free account
hub / github.com/MyGUI/mygui / CreateWidget

Method CreateWidget

Wrappers/MyGUI_Sharp/Widgets/BaseWidget.cs:114–120  ·  view source on GitHub ↗
(string _skin, IntCoord _coord, Align _align)

Source from the content-addressed store, hash-verified

112 #region CreateWidget
113
114 public T CreateWidget<T>(string _skin, IntCoord _coord, Align _align) where T : class
115 {
116 T type = System.Activator.CreateInstance<T>();
117 BaseWidget widget = type as BaseWidget;
118 widget.CreateWidgetImpl(this, WidgetStyle.Child, _skin, _coord, _align, "", "");
119 return type;
120 }
121
122 public T CreateWidget<T>(string _skin, IntCoord _coord, Align _align, string _name) where T : class
123 {

Callers

nothing calls this directly

Calls 1

CreateWidgetImplMethod · 0.80

Tested by

no test coverage detected