GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       Xacobeo::UI::DomView - DOM tree view

SYNOPSIS

               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);

DESCRIPTION

       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.

AUTHORS

       Emmanuel Rodriguez <potyl@cpan.org>.

COPYRIGHT AND LICENSE

       Copyright (C) 2008,2009 by Emmanuel Rodriguez.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself, either Perl version 5.8.8 or, at
       your option, any later version of Perl 5 you may have available.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.059 seconds. Last modified: November 04 2018 12:49:43.