Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | List of all members
BrowserObject Class Reference

Public Member Functions

def __init__
 
def __del__
 
def __call__
 
def __delattr__
 
def __delitem__
 
def __getattr__
 
def __getitem__
 
def __nonzero__
 
def __setattr__
 
def __setitem__
 
def __str__
 

Detailed Description

This class provides the Python wrapper around some object that
actually exists in the plugin host's namespace, e.g. a JavaScript
or DOM object. 

Constructor & Destructor Documentation

def __init__ (   self,
  runner,
  objectId 
)
def __del__ (   self)

Member Function Documentation

def __call__ (   self,
  args,
  kw 
)
def __delattr__ (   self,
  name 
)
def __delitem__ (   self,
  key 
)
def __getattr__ (   self,
  name 
)
Remaps attempts to query an attribute, as in obj.attr,
into the appropriate calls to query the actual browser object
under the hood.  
def __getitem__ (   self,
  key 
)
Remaps attempts to query an attribute, as in obj['attr'],
into the appropriate calls to query the actual browser object
under the hood.  Following the JavaScript convention, we treat
obj['attr'] almost the same as obj.attr. 
def __nonzero__ (   self)
def __setattr__ (   self,
  name,
  value 
)
def __setitem__ (   self,
  key,
  value 
)
def __str__ (   self)