public virtual void Add(Widget w) { widgets.Add (w); w.Container = this; if (w.CanFocus) this.CanFocus = true; }