DCKeywordList

from panda3d.direct import DCKeywordList
class DCKeywordList

Bases: DTOOL_SUPER_BASE

This is a list of keywords (see DCKeyword) that may be set on a particular field.

Inheritance diagram

Inheritance diagram of DCKeywordList

__init__(*args, **kwargs)
compareKeywords()

C++ Interface: compare_keywords(DCKeywordList self, const DCKeywordList other)

/**
  • Returns true if this list has the same keywords as the other list, false if

  • some keywords differ. Order is not considered important.

*/

compare_keywords()

C++ Interface: compare_keywords(DCKeywordList self, const DCKeywordList other)

/**
  • Returns true if this list has the same keywords as the other list, false if

  • some keywords differ. Order is not considered important.

*/

getKeyword()

C++ Interface: get_keyword(DCKeywordList self, int n)

/**
  • Returns the nth keyword in the list.

*/

getKeywordByName()

C++ Interface: get_keyword_by_name(DCKeywordList self, str name)

/**
  • Returns the keyword in the list with the indicated name, or NULL if there

  • is no keyword in the list with that name.

*/

getNumKeywords()

C++ Interface: get_num_keywords(DCKeywordList self)

/**
  • Returns the number of keywords in the list.

*/

get_keyword()

C++ Interface: get_keyword(DCKeywordList self, int n)

/**
  • Returns the nth keyword in the list.

*/

get_keyword_by_name()

C++ Interface: get_keyword_by_name(DCKeywordList self, str name)

/**
  • Returns the keyword in the list with the indicated name, or NULL if there

  • is no keyword in the list with that name.

*/

get_num_keywords()

C++ Interface: get_num_keywords(DCKeywordList self)

/**
  • Returns the number of keywords in the list.

*/

hasKeyword()

C++ Interface: has_keyword(DCKeywordList self, const DCKeyword keyword) has_keyword(DCKeywordList self, str name)

/**
  • Returns true if this list includes the indicated keyword, false otherwise.

*/

/**
  • Returns true if this list includes the indicated keyword, false otherwise.

*/

has_keyword()

C++ Interface: has_keyword(DCKeywordList self, const DCKeyword keyword) has_keyword(DCKeywordList self, str name)

/**
  • Returns true if this list includes the indicated keyword, false otherwise.

*/

/**
  • Returns true if this list includes the indicated keyword, false otherwise.

*/