Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
View.xmlviewSourceThe xmlview widget, with kind "xmlview".
Note that the widget will automatically rebuild the widgets to display the XML document when the source of the style changes (i.e. event Prop_changed with property Style.prop_source).
inherit Stk.Bin.binmethod style : Stk_xml.Style.styleGet the style object used by the view. If none was provided at creation time, a default one is used.
method doc : Stk_xml.Doc.docReturn the current XML view document.
Set CSS statements describing which event handlers to add to created widgets (see Eprops).
Append CSS statements for event handlers.
method load_resource : Iri.t -> Stk_xml.Types.load_resource_result Lwt.t#load_resource iri retrieves resource at iri, if a load_resource function was provided; else returns `None.
method set_load_resource : Stk_xml.Types.load_resource option -> unitSet the function used to retrieve remote resources.
method set_of_node : Stk_xml.Layout.of_node_fun option -> unitSet the function building widgets from an XML node. See Layout module.
method set_xml : ?iri:Iri.t -> Stk_xml.Xml.doc -> unitSet the XML document to display. This will remove all widgets displaying previous document. The iri optional argument is used to resolve relative IRIs.
method xml : Stk_xml.Xml.docGet the currently displayed XML document.
method iri : Stk_xml.Types.PIri.t optionGet the current IRI, i.e. the one set with #set_xml.