Package nuke :: Module localization
[hide private]
[frames] | no frames]

Source Code for Module nuke.localization

 1  #!/usr/bin/env python 
 2  # -*- coding: utf-8 -*- 
 3   
 4  """ 
 5  APIs for Nuke's localization functionality. 
 6   
 7  Use help('_localization') to get detailed help on the classes exposed here. 
 8   
 9  This module provides the public interface to the localization module and will 
10  remain stable. It uses an underlying native module called _localization to 
11  provide this interface. While there is nothing stopping you from using the 
12  _localization module directly, it may change in a future release and break  
13  backwards compatibility. 
14  """ 
15   
16  # Import the internal module from C++ 
17  from _localization import * 
18   
19 -class FileEvent:
20 """Events received in file callbacks""" 21 LOCALIZED = 0 22 REMOVED = 1 23 CACHE_FULL = 2 24 DISK_FULL = 3 25 OUT_OF_DATE = 4
26
27 -class ReadStatus:
28 """Localization status recieved by Read callbacks""" 29 LOCALIZATION_DISABLED = 0 30 NOT_LOCALIZED = 1 31 LOCALIZING = 2 32 PARTIALLY_LOCALIZED = 3 33 LOCALIZED = 4 34 OUT_OF_DATE = 5
35