#include <ElementInterface.h>
Static Public Member Functions | |
| static void | InitialisePythonInterface () |
| Initialises the python element interface. | |
| static void | InitialiseRocketInterface () |
| Initialise the rocket element interface. | |
| static Rocket::Core::String | GetAddress (Element *element) |
| Get the element's address. | |
| static ElementStyleProxy | GetStyle (Element *element) |
| Get a style proxy object for the element. | |
| static ElementChildrenProxy | GetChildren (Element *element) |
| Get a children proxy object for the element. | |
| static ElementAttributeProxy | GetAttributes (Element *element) |
| Get an attribute proxy for this element. | |
| static void | AddEventListener (Element *element, const char *event, Rocket::Core::Python::EventListener *listener, bool in_capture_phase) |
| Override for AddEventListener that takes a python EventListener. | |
| static void | AddEventListener (Element *element, const char *event, Rocket::Core::Python::EventListener *listener) |
| Override for AddEventListener without the third parameter. | |
| static void | AppendChild (Element *element, Element *child) |
| Override for AppendChild without the non-DOM boolean. | |
| static void | DispatchEvent (Element *element, const char *event, const python::dict ¶meters, bool interruptible) |
| Dispatches an event. | |
| static Rocket::Core::String | GetAttribute (Element *element, const char *name) |
| Get the specified attribute. | |
| static ElementList | GetElementsByTagName (Element *element, const char *tag) |
| Returns the list of elements. | |
| static void | RemoveEventListener (Element *element, const char *event, EventListener *listener) |
| Override for RemoveEventListener without the third parameter. | |
| static void | SetAttribute (Element *element, const char *name, const char *value) |
| Get the specified attribute. | |
| static Rocket::Core::String | GetInnerRML (Element *element) |
| Get the inner html of the given element. | |
| static Rocket::Core::String | GetText (ElementText *element) |
| ElementText interface. | |
| static void | SetText (ElementText *element, const char *text) |
| static void | Show (ElementDocument *document) |
| Document Interface. | |
| static python::object | CreateElement (ElementDocument *document, const char *tag) |
| Creates a correctly reference-counted element. | |
| static python::object | CreateTextNode (ElementDocument *document, const char *text) |
| Creates a correctly reference-counted text node. | |
Contains a list of static methods that wrap element functions for easier use from python.
| void Rocket::Core::Python::ElementInterface::Show | ( | ElementDocument * | document | ) | [static] |
Document Interface.
Show a document - override for default parameters