public Board(ArrayList pos) : base() { figure = new Figure (); position = new Position (pos); info = new MoveInfo (); layout = new Pango.Layout (PangoContext); }
public Board(ArrayList pos) : base(GType) { figure = new Figure (); position = new Position (pos); info = new MoveInfo (); layout = new Pango.Layout (PangoContext); Events = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionHintMask | EventMask.ButtonMotionMask | Gdk.EventMask.KeyPressMask; CanFocus = true; }