Behaviour API
Description: C source code API documentation for the Oyranos project.
Keywords: Oyranos,Color Management,Color Management,ICC,CMS,C,doxygen,API,documentation

| Oyranos Color Management System API - Version 0.9.6

Functions
Behaviour API
Color » Defaults Handling

Set and query for behaviour on various actions. More...

Collaboration diagram for Behaviour API:

## Functions
int | oySetBehaviour (oyBEHAVIOUR_e type, oySCOPE_e scope, int choice)
int | oyGetBehaviour (oyBEHAVIOUR_e type)

## Detailed Description

Set and query for behaviour on various actions.

Todo:
  is the missing description of available choices

Take a look at the Oyranos settings xml file. Options are described there.

Otherwise look at the oyranos-config-fltk application or the description on

ColourWiki.

## Function Documentation

## ◆ oyGetBehaviour()

int oyGetBehaviour | ( | oyBEHAVIOUR_e | type | ) |

Get a special behaviour.

Todo:
  The options should silently fallback to defaults.

Parameters

  type | the type of behaviour

Returns
  the behaviour option (-1 if not available or not set)

## ◆ oySetBehaviour()

int oySetBehaviour | ( | oyBEHAVIOUR_e | type,
|  | oySCOPE_e | scope,
|  | int | choice
| ) |  |

Set a special behaviour. Usual in control panel in Oyranos.

Parameters

  type | the type of behaviour
  scope | oySCOPE_USER and oySCOPE_SYSTEM are possible
  choice | the selected option

Returns
  error