| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/InstantMessage.framework |
| Availability | Available in Mac OS X v10.6 and later. |
| Companion guide | |
| Declared in | IMAVControl.h |
| Related sample code |
The IMAVControlBar class represents the control bar used in iChat Theater. However, the control bar does not appear unless you add controls. For example, you might add standard playback controls, like Forward and Previous buttons, if your client is a slideshow application. You set the target and actions for these controls before adding them to the control bar.
There is one IMAVControlBar object per client application that you obtain from the IMAVManager object using the controlBar method. You should not create instances of IMAVControlBar directly. Once you’ve obtained the control bar object, use the methods in this class to add and remove controls. Use subclasses of IMAVControl to add and configure the standard controls.
Adds the specified control to the control bar.
- (void)addControl:(IMAVControl *)control
The control to add.
IMAVControl.hReturns all the controls on the control bar.
- (NSArray *)controls
The controls on the control bar.
IMAVControl.hRemoves all the controls from the control bar.
- (void)removeAllControls
IMAVControl.hRemoves the specified control from the control bar.
- (void)removeControl:(IMAVControl *)control
The control to remove.
IMAVControl.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-05-26)