• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A more attractive NSSlider?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A more attractive NSSlider?


  • Subject: A more attractive NSSlider?
  • From: Glenn Zelniker <email@hidden>
  • Date: Thu, 31 Mar 2005 22:50:24 -0500

I would like to either customize or subclass NSSlider. In particular, suppose I just want to put a different image behind the knob. I've tried using -setImage methods in NSSlider, NSSliderCell, and NSActionCell, but none of these works. I also began the annoying process of starting from scratch with a subclass of NSView and doing my own -mouseDown, etc. methods, but I soon realized I'd have to be doing a lot of target-action stuff or delegation in order to get my app controller to see values coming from the slider...

To make a long story short, is there a simple way to replace the knob and the background image in an NSSlider? Has anyone implemented a custom NSSlider that lets you set the knob image and the slider background image?

Glenn Zelniker


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: A more attractive NSSlider?
      • From: Julian Cain <email@hidden>
  • Prev by Date: Re: Ways in which objects can come into existence
  • Next by Date: Re: A more attractive NSSlider?
  • Previous by thread: Re: bindings...
  • Next by thread: Re: A more attractive NSSlider?
  • Index(es):
    • Date
    • Thread