• 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
Getting bounds of an NSTabViewItem tab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting bounds of an NSTabViewItem tab


  • Subject: Getting bounds of an NSTabViewItem tab
  • From: Scott Kovatch <email@hidden>
  • Date: Sun, 23 Mar 2008 19:10:40 -0700

Hello,

Does anyone know of a convenient way to get the bounding rectangle of the tab of an NSTabViewItem? I know I can get the size of the label with sizeOfLabel:, but it looks like the _tabRect itself is private.

I was thinking I could use accessibilityAttributeValue: to retrieve the NSAccessibilityPositionAttribute, since the NSTabViewItem is a standard control, but I'm wondering if there's another way.

Thanks,
Scott

------------------
Scott Kovatch
email@hidden



_______________________________________________

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


  • Prev by Date: Re: NSTreeController / CoreData still broken in 10.5?
  • Next by Date: Writing a preference pane that configures hotkeys?
  • Previous by thread: Re: How to delay application quit?
  • Next by thread: Writing a preference pane that configures hotkeys?
  • Index(es):
    • Date
    • Thread