Logo Search packages:      
Sourcecode: blender version File versions  Download package

SCons::Variables::BoolVariable Namespace Reference


Detailed Description

engine.SCons.Variables.BoolVariable

This file defines the option type for SCons implementing true/false values.

Usage example:

  opts = Variables()
  opts.Add(BoolVariable('embedded', 'build for an embedded system', 0))
  ...
  if env['embedded'] == 1:
    ...


Functions

def _text2bool
def _validator
def BoolVariable

Variables

list __all__ = ['BoolVariable',]
tuple __false_strings = ('n', 'no', 'false', 'f', '0', 'off', 'none')
string __revision__ = "src/engine/SCons/Variables/BoolVariable.py 3603 2008/10/10 05:46:45 scons"
tuple __true_strings = ('y', 'yes', 'true', 't', '1', 'on' , 'all' )


Generated by  Doxygen 1.6.0   Back to index