Xacobeo::UI::DomView(3pm)

Xacobeo::UI::DomView3pm

Dom tree view

Usage

        use Xacobeo::DomView;
        use Xacobeo::UI::SourceView;
        
        my $view = Xacobeo::UI::SourceView->new();
        $window->add($view);
        
        # Load a document
        my $document = Xacobeo::Document->new_from_file($file, $type);
        $view->set_document($document);
        $view->load_node($document->documentNode);

Overview

The application's main window. This widget is a Gtk2::TreeView.

Properties

The following properties are defined:

ui-manager

The UI Manager used by this widget.

action-group

The action group that provides the values in the context menu.

menu

The context menu of the widget.

document

The document being displayed.

namespaces

The namespaces registered in the document.

Methods

The following methods are available:

new

Creates a new instance. This is simply the parent's constructor.

load_node

Sets the tree view nodes hierarchy based on the given node. This is the method that will actually add items to the widget.

Parameters:

•

$node

The node to be loaded into the tree widget; an instance of XML::LibXML::Node.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

Authors

Emmanuel Rodriguez <[email protected]>.

From xacobeo 0.15-3+b2 in Debian 9 (Stretch). Parsed by carta from the page's man source.