title: NSButton gradient style
body: <p>In Interface Builder components I have Gradient Button</p>
  
  <p><img src="https://i.stack.imgur.com/aGosG.png" alt="Gradient Button"></p>
  
  <p>I would like to create this button programmatically. But I can't find combination of button type, bezel style and gradient type to reproduce it. My local goal is to create plus (add) and minus (remove) buttons like this</p>
  
  <p><img src="https://i.stack.imgur.com/ks4Ug.png" alt="Add and remove items, gradient button"></p>
  
  <p>May be you can also know how to implement part at right of minus? It looks like disabled gradient button.</p>
  
  <p><strong>Update (2012-02-01, 14:52)</strong></p>
  
  <p>I put gradient button on empty xib, open xib with text editor and find my button. This is a part of code.</p>
  
  <pre><code>&lt;array class="NSMutableArray" key="NSSubviews"&gt;
    &lt;object class="NSButton" id="155381693"&gt;
      &lt;reference key="NSNextResponder" ref="1005"/&gt;
      &lt;int key="NSvFlags"&gt;268&lt;/int&gt;
      &lt;string key="NSFrame"&gt;{{20, 303}, {106, 23}}&lt;/string&gt;
      &lt;reference key="NSSuperview" ref="1005"/&gt;
      &lt;reference key="NSWindow"/&gt;
      &lt;string key="NSReuseIdentifierKey"&gt;_NS:2466&lt;/string&gt;
      &lt;bool key="NSEnabled"&gt;YES&lt;/bool&gt;
      &lt;object class="NSButtonCell" key="NSCell" id="976550657"&gt;
        &lt;int key="NSCellFlags"&gt;-2080244224&lt;/int&gt;
        &lt;int key="NSCellFlags2"&gt;134217728&lt;/int&gt;
        &lt;string key="NSContents"&gt;Gradient Button&lt;/string&gt;
        &lt;object class="NSFont" key="NSSupport"&gt;
          &lt;string key="NSName"&gt;LucidaGrande&lt;/string&gt;
          &lt;double key="NSSize"&gt;13&lt;/double&gt;
          &lt;int key="NSfFlags"&gt;1044&lt;/int&gt;
        &lt;/object&gt;
        &lt;string key="NSCellIdentifier"&gt;_NS:2466&lt;/string&gt;
        &lt;reference key="NSControlView" ref="155381693"/&gt;
        &lt;int key="NSButtonFlags"&gt;-2033434369&lt;/int&gt;
        &lt;int key="NSButtonFlags2"&gt;162&lt;/int&gt;
        &lt;string key="NSAlternateContents"/&gt;
        &lt;string key="NSKeyEquivalent"/&gt;
        &lt;int key="NSPeriodicDelay"&gt;400&lt;/int&gt;
        &lt;int key="NSPeriodicInterval"&gt;75&lt;/int&gt;
      &lt;/object&gt;
    &lt;/object&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>I will try to reproduce button using this information.</p>