Panda3D
Public Member Functions

metaclass_def Class Reference

List of all members.

Public Member Functions

def __new__

Detailed Description

A metaclass is invoked by Python when the class definition is
read, for instance to define a child class.  By defining a
metaclass for class_p3d and class_package, we can get a callback
when we encounter "class foo(p3d)" in the pdef file.  The callback
actually happens after all of the code within the class scope has
been parsed first. 

Member Function Documentation

def __new__ (   self,
  name,
  bases,
  dict 
)
 All Classes Namespaces Functions Variables Properties