Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
BrowserObject Class Reference

## Public Member Functions
| __init__ (self, runner, objectId)
| __del__ (self)
| __bool__ (self)
| __call__ (self, *args, **kw)
| __delattr__ (self, name)
| __delitem__ (self, key)
| __getattr__ (self, name)
| __getitem__ (self, key)
| __setattr__ (self, name, value)
| __setitem__ (self, key, value)
| __str__ (self)

## 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

## ◆ __init__()

__init__ | ( |  | self,
|  |  | runner,
|  |  | objectId )

## ◆ __del__()

__del__ | ( |  | self | ) |

## Member Function Documentation

## ◆ __bool__()

__bool__ | ( |  | self | ) |

## ◆ __call__()

__call__ | ( |  | self,
|  | * | args,
|  | ** | kw )

## ◆ __delattr__()

__delattr__ | ( |  | self,
|  |  | name )

## ◆ __delitem__()

__delitem__ | ( |  | self,
|  |  | key )

## ◆ __getattr__()

__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.

## ◆ __getitem__()

__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.

## ◆ __setattr__()

__setattr__ | ( |  | self,
|  |  | name,
|  |  | value )

## ◆ __setitem__()

__setitem__ | ( |  | self,
|  |  | key,
|  |  | value )

## ◆ __str__()

__str__ | ( |  | self | ) |