Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Missing Interface Elements

Missing Interface Elements
Thread Tools
K++
Senior User
Join Date: Jan 2002
Location: NYC
Status: Offline
Reply With Quote
Jun 28, 2002, 07:44 AM
 
Okay Im making a Cocoa app and there are two Interface elements I would like to use, but I can't find em anywhere. The View triangle that lets you show hide elements in a window as well as the chasing arrows for indeterminate proccesing. Both of these appear in AppearanceSampler but i really want these widgets. Why wont Ineterface BUilder give them to me.
     
Lew
Senior User
Join Date: Dec 2001
Location: England, UK
Status: Offline
Reply With Quote
Jun 28, 2002, 08:09 AM
 
Appearance Sample seems to be a Carbon application (the Project Builder file can be found at '/Developer/Examples/Carbon/AppearanceSample/AppearanceSample.pbxproj'). Looking through Interface Builder the only place the chasing arrows appear is in the 'Carbon/Other' section.
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Jun 28, 2002, 08:10 AM
 
Both of the UI elements you mention are Carbon-only. For chasing arrows, I suggest using the OAChasingArrowsProgressIndicator class in the OmniAppKit. The nice thing about it is that it isn't dependant on the rest of the framework, so you only need to grab the individual source files for the class. For the disclosure triangle, just grab some images of the triangle and use them in an NSButton as Image and Alternate Image. Simple .

<small>[ 06-28-2002, 09:15 AM: Message edited by: Ibson ]</small>
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Jun 29, 2002, 03:50 AM
 
If you're talking about the disclosure button found in Save dialogs, that's available in Cocoa, but for some reason it's not public API. The class name is NSDisclosureButton, I think. Find out more with class-dump.
Rick Roe
icons.cx | weblog
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:54 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2