RmlDocument

class RmlDocument

Bases: ReferenceCount

Thin Python-accessible wrapper around Rml::ElementDocument.

Obtained via RmlContext::load_document(). The document is owned by RmlUi; this wrapper holds a non-owning pointer.

Inheritance diagram

digraph inheritance6e55dd3bd4 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "RmlDocument" [URL="acron.rmlui.RmlDocument.html#acron.rmlui.RmlDocument",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ReferenceCount" -> "RmlDocument" [arrowsize=0.75,style=""]; }
RmlDocument.__init__()
RmlDocument.close()
RmlDocument.create_element()

Programmatic element creation.

RmlDocument.create_text_node()
RmlDocument.get_element_by_id()
RmlDocument.get_source_url()

Additional metadata.

Additional metadata.

RmlDocument.get_title()
RmlDocument.hide()
RmlDocument.is_modal()
RmlDocument.is_visible()
RmlDocument.pull_to_front()

Z-ordering.

RmlDocument.push_to_back()
RmlDocument.reload_style_sheet()

Style hot-reload.

RmlDocument.set_title()
RmlDocument.show()