Getting bounds of an NSTabViewItem tab
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