ConfigVariableList

from panda3d.core import ConfigVariableList
class ConfigVariableList

Bases: ConfigVariableBase

This class is similar to ConfigVariable, but it reports its value as a list of strings. In this special case, all of the declarations of the variable are returned as the elements of this list, in order.

Note that this is different from a normal ConfigVariableString, which just returns its topmost value, which can optionally be treated as a number of discrete words by dividing it at the spaces.

A ConfigVariableList cannot be modified locally.

Inheritance diagram

Inheritance diagram of ConfigVariableList

__init__(*args, **kwargs)
getNumUniqueValues()

C++ Interface: get_num_unique_values(ConfigVariableList self)

/**
  • Returns the number of unique values in the variable.

*/

getNumValues()

C++ Interface: get_num_values(ConfigVariableList self)

/**
  • Returns the number of values in the variable.

*/

getStringValue()

C++ Interface: get_string_value(ConfigVariableList self, int n)

/**
  • Returns the nth value of the variable.

*/

getUniqueValue()

C++ Interface: get_unique_value(ConfigVariableList self, int n)

/**
  • Returns the nth unique value of the variable.

*/

get_num_unique_values()

C++ Interface: get_num_unique_values(ConfigVariableList self)

/**
  • Returns the number of unique values in the variable.

*/

get_num_values()

C++ Interface: get_num_values(ConfigVariableList self)

/**
  • Returns the number of values in the variable.

*/

get_string_value()

C++ Interface: get_string_value(ConfigVariableList self, int n)

/**
  • Returns the nth value of the variable.

*/

get_unique_value()

C++ Interface: get_unique_value(ConfigVariableList self, int n)

/**
  • Returns the nth unique value of the variable.

*/

output()

C++ Interface: output(ConfigVariableList self, ostream out)

/**

*/

write()

C++ Interface: write(ConfigVariableList self, ostream out)

/**

*/