title: How to get reference to NSWindow from NSToolbarItem subclass
body: <p>I have a class CustomToolbarItem which inherits from NSToolbarItem. From within the CustomToolbarItem class itself, during initialisation, can I get a reference to the NSWindow instance to which it is added?</p>
  
  <p>I have tried adding the following code to <code>AwakeFromNib</code> but the view is null.</p>
  
  <pre><code>var window = View.Window;
  </code></pre>