Carbon


Theme Button Value Constants

Header: Appearance.h

enum {
    kThemeButtonOff = 0,
    kThemeButtonOn = 1,
    kThemeButtonMixed = 2,
    kThemeDisclosureRight = 0,
    kThemeDisclosureDown = 1,
    kThemeDisclosureLeft = 2
};

Constant descriptions

kThemeButtonOff

Identifies a button that is not selected.

kThemeButtonOn

Identifies a button that is selected.

kThemeButtonMixed

Identifies a button that is in the mixed state, indicating that a setting is on for some elements in a selection and off for others. This value typically applies to checkboxes and radio buttons.

kThemeDisclosureRight

Identifies a disclosure triangle that is pointing to the right.

kThemeDisclosureDown

Identifies a disclosure triangle that is pointing down.

kThemeDisclosureLeft

Identifies a disclosure triangle that is pointing to the left.

You can use constants of type ThemeButtonValue in the ThemeButtonDrawInfo structure to specify that button controls are drawn with the correct values. The ThemeButtonValue constants are available with Appearance Manager 1.1 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)