RmlRegion

from acron.rmlui import RmlRegion
class RmlRegion

Bases:

Bases: DisplayRegion

A DisplayRegion that hosts an RmlUi context, rendering the UI into the associated window or buffer region.

Usage: region = RmlRegion.make(“hud”, window) doc = region.load_document(“ui/hud.rml”) doc.Show() # wire up input: handler = RmlInputHandler() mouseWatcher.attach_new_node(handler) region.set_input_handler(handler)

Inheritance diagram

digraph inheritance16a4e25296 { 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=""]; "DisplayRegion" [URL="acron.core.DisplayRegion.html#acron.core.DisplayRegion",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "DisplayRegion" [arrowsize=0.75,style=""]; "DrawableRegion" -> "DisplayRegion" [arrowsize=0.75,style=""]; "DrawableRegion" [URL="acron.core.DrawableRegion.html#acron.core.DrawableRegion",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" -> "DrawableRegion" [arrowsize=0.75,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=""]; "RmlRegion" [URL="acron.rmlui.RmlRegion.html#acron.rmlui.RmlRegion",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DisplayRegion" -> "RmlRegion" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }
property context → PointerTo_RmlContext
property debugger_visible → bool
static get_class_type()
get_context()
get_input_handler()
init_debugger()
property input_handler → RmlInputHandler
is_debugger_visible()
is_valid()
static make()
set_debugger_visible()
set_input_handler()