• 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
Accessing Aqua metrics without Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing Aqua metrics without Carbon


  • Subject: Accessing Aqua metrics without Carbon
  • From: email@hidden
  • Date: Tue, 1 Jul 2003 17:43:20 EDT

I'm looking for a way to access the proper standard metrics for a control
(such as an NSPopupButton) without the use of Carbon.

Using Carbon I could simply call GetThemeMetric() with the appropriate metric
constant and get the value I want, but since I'm writing a Cocoa app, this
would be a mighty large resource hit for accessing what amounts to be a
constant.

Is there an alternative Cocoa API for this?

Ron Anderson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Accessing Aqua metrics without Carbon
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: Panther Console Warning
  • Next by Date: IOKit Power Manager Help
  • Previous by thread: Re: Panther Console Warning
  • Next by thread: Re: Accessing Aqua metrics without Carbon
  • Index(es):
    • Date
    • Thread