• 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
Button on a button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Button on a button


  • Subject: Button on a button
  • From: Niklas Saers <email@hidden>
  • Date: Tue, 11 Mar 2008 00:23:44 +0100

Hi,
I'm fairly new to Cocoa so I'm sorry if this is a trivial question.

I would like to create a little button in a button: like in Dashboard where you get a little "i" icon in a circle that can flip the widget, I would like to put a little "i" in a circle on the right-hand side of my button and flip the button to change its settings when "i" is pressed. But when the button is clicked other places than the "i", I would like the button action to happen. For example, the settings backside of the button could set what webpage to load and pressing the button would load the webpage.

Can I do this with NSButton? Is there a nice and simple way to do this, or do I need to subclass NSButton or implement my own control that looks like NSButton?

Cheers

	Nik
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Button on a button
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Button on a button
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Stupid question: how do you show an NSWindow?
  • Next by Date: Re: No track index in iTunes SB?
  • Previous by thread: Re: Expected Behavior? NSWorkspace and LSUIPresentationMode
  • Next by thread: Re: Button on a button
  • Index(es):
    • Date
    • Thread