• 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
RE: buttonType in NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: buttonType in NSButton


  • Subject: RE: buttonType in NSButton
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Mon, 9 Dec 2002 09:43:01 -0500

> I'm working on my first significant Cocoa project, and was wondering if
> there's a programmatic way of discovering an NSButton's buttonType. I've
> looked at NSButton, NSButtonCell, and NSAccessibility (briefly), and
> nothing presents itself as the front door. I can *set* it, but I don't
> want to do that.
>

How about asking the button for its class, e.g. [yourButton class] or
[yourButton className], or testing with isKindOfClass:? Check the NSObject
docs.

Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >buttonType in NSButton (From: "Adam Lindsay" <email@hidden>)

  • Prev by Date: Re: Subject: Re: Cocoa Book / ok, ok.
  • Next by Date: Remove Keychain
  • Previous by thread: buttonType in NSButton
  • Next by thread: Re: buttonType in NSButton
  • Index(es):
    • Date
    • Thread