eric7/Documentation/Source/eric7.ViewManager.__init__.html

Tue, 17 Aug 2021 12:26:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 17 Aug 2021 12:26:40 +0200
branch
eric7
changeset 8513
a7464bea3d0a
parent 8372
e0227a7c850e
child 8596
d64760b2da50
permissions
-rw-r--r--

Updated source documentation.

<!DOCTYPE html>
<html><head>
<title>eric7.ViewManager.__init__</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.ViewManager.__init__</h1>

<p>
Package implementing the viewmanager of the eric IDE.
</p>
<p>
The viewmanager is responsible for the layout of the editor windows. This is
the central part of the IDE. In additon to this, the viewmanager provides all
editor related actions, menus and toolbars.
</p>
<p>
View managers are provided as plugins and loaded via the factory function. If
the requested view manager type is not available, tabview will be used by
default.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Functions</h3>

<table>

<tr>
<td><a href="#factory">factory</a></td>
<td>Modul factory function to generate the right viewmanager type.</td>
</tr>
</table>
<hr />
<hr />
<a NAME="factory" ID="factory"></a>
<h2>factory</h2>
<b>factory</b>(<i>parent, ui, dbs, pluginManager</i>)

<p>
    Modul factory function to generate the right viewmanager type.
</p>
<p>
    The viewmanager is instantiated depending on the data set in
    the current preferences.
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
<dt><i>ui</i></dt>
<dd>
reference to the main UI object
</dd>
<dt><i>dbs</i></dt>
<dd>
reference to the debug server object
</dd>
<dt><i>pluginManager</i></dt>
<dd>
reference to the plugin manager object
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
the instantiated viewmanager
</dd>
</dl>
<dl>

<dt>Raises <b>RuntimeError</b>:</dt>
<dd>
raised if no view manager could be created
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial