---
title: "OcioColourSpace.MenuItems"
description: "API documentation for OcioColourSpace.MenuItems"
url: https://developer.disguise.one/python-api/docs/ociocolourspace.menuitems/
---

# MenuItems

MenuItems defines which categories of OCIO colour spaces to display in the widget.  
Note that this is a bitmask.

Nested in: _[OcioColourSpace](/python-api/docs/ociocolourspace#ociocolourspace)_

Base class: _\_BlipEnum_

## Variables

#### **MenuAll** = -1

#### **MenuNone** = 0x0

#### **MenuDefault** = 0x1

#### **MenuColourSpace** = 0x2

#### **MenuDisplayViewSpace** = 0x4

#### **MenuNamedSpace** = 0x8

#### **MenuLook** = 0x10

## Constructors

#### **\_\_init\_\_**(self)

#### **\_\_init\_\_**(self, arg0: _[OcioColourSpace.MenuItems](/python-api/docs/ociocolourspace.menuitems#menuitems)_)

## Methods

#### **toString**(self) -> _str_

The name of this enumerator, or an empty string if its value is not a named enumerator

## Static Methods

#### **fromInt**(arg0: _int_) -> _[OcioColourSpace.MenuItems](/python-api/docs/ociocolourspace.menuitems#menuitems)_

The enumerator with the given integer value, which need not be one of the named enumerators

## Special Methods

#### **\_\_index\_\_**(self) -> _int_

The integer value of this enumerator, for use as a list index

#### **\_\_int\_\_**(self) -> _int_

The integer value of this enumerator

#### **\_\_repr\_\_**(self) -> _str_

The enum and enumerator names, as ; str() and print give the same

#### **\_\_lt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_le\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_gt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_ge\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_and\_\_**(self, other: _Self | int_) -> _Self_

The flags set in both this value and other

#### **\_\_or\_\_**(self, other: _Self | int_) -> _Self_

The flags set in either this value or other

#### **\_\_xor\_\_**(self, other: _Self | int_) -> _Self_

The flags set in exactly one of this value and other
