NSWindow Backcolor

Discussion in 'Mac Programming' started by McBgnr, Apr 15, 2009.

  1. macrumors regular

    Joined:
    Apr 13, 2009
    #1
    How can I change the backcolor of NSWindow?
     
  2. thread starter macrumors regular

    Joined:
    Apr 13, 2009
    #2
    I realized how this is to be done soon after I put this post :)... However I am not able to do the same for NSTabView.... Checked the documentation and realized that NSTabView does not have the setBackgroundColor function. Any ideas how I can set the backcolor for the NSTabView ?
     
  3. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #3
    You probably have to subclass it and override drawRect:
     

Share This Page