The Python interface to libRocket has been designed to resemble Javascript as closely as possible. Due the nature of the language, this is more possible in Python than C++.

The functionality of libRocket is described fully in the C++ Manual; this manual defines the Python interface to the libRocket objects described there. Not all aspects of libRocket are accessible from Python; for example, custom decorators can only be created in C++. However the vast majority is accessible, enabling you to easily and efficiently develop the functionality of your documents.

Integrating Python

  1. Overview
  2. Embedding script
  3. Loading fonts
  4. Attaching to Events

Interfaces

  1. Elements
  2. Documents
  3. Contexts
  4. Events

Appendix

  1. API reference