Provided by: xacobeo_0.15-3build1_amd64 bug

NAME

       Xacobeo::UI::Window - Main window of Xacobeo.

SYNOPSIS

               use Gtk2 qw(-init);
               use Xacobeo::UI::Window;

               my $xacobeo = Xacobeo::UI::Window->new();
               $xacobeo->signal_connect(destroy => sub { Gtk2->main_quit(); });
               $xacobeo->show_all();
               Gtk2->main();

DESCRIPTION

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

PROPERTIES

       The following properties are defined:

   source-view
       The source view where the document's content is displayed.

   dom-view
       The widget displaying the results of a search

   results-view
       The UI Manager used by this widget.

   namespaces-view
       The widget displaying the namespaces of the current document.

   xpath-entry
       The entry where the XPath expression will be edited.

   statusbar
       The window's statusbar.

   notebook
       The notbook widget at the bottom of the window.

   evaluate-button
       The button starting a search.

   conf
       A reference to the main configuration singleton.

   ui-manager
       The UI Manager used by this widget.

METHODS

       The following methods are available:

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

   load_file
       Load a new file into the application. The new document will be parsed and displayed in the
       window.

       Parameters:

       •   $file

           The file to load.

       •   $type

           The type of document to load: xml or html. Defaults to xml if no value is provided.

   load_document
       Load a new document into the application. The document will be parsed and displayed in the
       window.

       Parameters:

       •   $document

           The document to load.

   set_xpath
       Set the XPath expression to display in the XPath text area. The expression is not
       evaluated.

       Parameters:

       •   $xpath

           The XPath expression to set

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.