Button on a button
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