Blame hig/de/primary-windows.page

Packit 1470ea
Packit 1470ea
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="primary-windows" xml:lang="de">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <link type="guide" xref="patterns#primary"/>
Packit 1470ea
    <desc>Das oder die Hauptfenster Ihrer Anwendung</desc> 
Packit 1470ea
    <credit type="author">
Packit 1470ea
      <name>Allan Day</name>
Packit 1470ea
      <email>aday@gnome.org</email>
Packit 1470ea
    </credit>
Packit 1470ea
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
Packit 1470ea
  
Packit 1470ea
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 1470ea
      <mal:name>Christian Kirbach</mal:name>
Packit 1470ea
      <mal:email>christian.kirbach@gmail.com</mal:email>
Packit 1470ea
      <mal:years>2014</mal:years>
Packit 1470ea
    </mal:credit>
Packit 1470ea
  
Packit 1470ea
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
Packit 1470ea
      <mal:name>Mario Blättermann</mal:name>
Packit 1470ea
      <mal:email>mario.blaettermann@gmail.com</mal:email>
Packit 1470ea
      <mal:years>2016</mal:years>
Packit 1470ea
    </mal:credit>
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>Primäre Fenster</title>
Packit 1470ea
Packit 1470ea
<media type="image" mime="image/svg" src="figures/patterns/primary-windows.svg"/>
Packit 1470ea
Packit 1470ea

Primary windows are the basic high-level container for your application user interface, and should present the core functionality of your application.

Packit 1470ea
Packit 1470ea
<section id="when-to-use">
Packit 1470ea
<title>Anwendungsfälle</title>
Packit 1470ea
Packit 1470ea

Jede Anwendung sollte mindestens ein primäres Fenster haben, das ihr zugeordnet ist.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="application-types">
Packit 1470ea
<title>Anwendungstypen</title>
Packit 1470ea
Packit 1470ea

Es gibt zwei Hauptmodelle für primäre Fenster:

Packit 1470ea
Packit 1470ea
<section id="single-instance-applications">
Packit 1470ea
<title>Anwendungen mit einer Instanz</title>
Packit 1470ea
Packit 1470ea

Single instance applications have a single primary window. This model is common for messaging applications, such as email, chat, or contacts.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="multiple-instance-applications">
Packit 1470ea
<title>Anwendungen mit mehreren Instanzen</title>
Packit 1470ea
Packit 1470ea

Multiple instance applications can have multiple primary windows. Typically, each primary window will be identical. Multi-instance applications are frequently viewers or editors, such as for documents or images.

Packit 1470ea
Packit 1470ea

Both single and multiple instance applications can allow multiple content items to be opened, either through the use of <link xref="tabs">tabs</link> or browser-style navigation. However, multiple windows do offer additional capabilities, which include:

Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Viewing several content items alongside each other.

</item>
Packit 1470ea
<item>

Placing content on different workspaces.

</item>
Packit 1470ea
<item>

Organizing sets of content into different windows (if using tabs).

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
<section id="parent-child-primary-windows">
Packit 1470ea
<title>Parent/child primary windows</title>
Packit 1470ea
Packit 1470ea

Multiple instance applications typically have identical primary windows (in the case multiple web browser windows, for example). However, this is not always the case.

Packit 1470ea
Packit 1470ea

Primary windows can have a parent/child relationship. In this type of application, there is only ever one parent window. This typically contains an overview of content items which can be opened in the parent window, or in a separate child window. This allows multiple content items to be simultaneously open.

Packit 1470ea
Packit 1470ea

While child windows can only be opened through a parent window, they are not dependent on them in order to stay open: closing the parent window does not result in the closure of the application's child windows.

Packit 1470ea
Packit 1470ea

GNOME's <app>Notes</app> application is a good example of parent/child primary windows.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="general-guidelines">
Packit 1470ea
<title>Allgemeine Richtlinien</title>
Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Ein einzelnes primäres Fenster sollte stets angezeigt werden, wenn Ihre Anwendung gestartet ist.

</item>
Packit 1470ea
<item>

If your application launcher is activated while your application is running, all its primary windows should be displayed.

</item>
Packit 1470ea
<item>

Primäre Fenster sollten die Hauptfunktionen Ihrer Anwendung bereitstellen. Verlagern Sie keine grundlegende Funktionalität in Dialoge oder sekundäre Fenster.

</item>
Packit 1470ea
<item>

Primäre Fenster sollten unabhängig sein. Das bedeutet, dass durch das Schließen eines primären Fensters nicht auch die Schließung eines anderen primären Fensters ausgelöst werden sollte.

</item>
Packit 1470ea
<item>

Dialogfenster sollten stets von einem primären Fenster abhängig sein. Erläuterungen hierzu finden Sie auf der Seite zu <link xref="dialogs">Dialogen</link>.

</item>
Packit 1470ea
<item>

The guidelines on <link xref="display-compatibility">display compatibility</link> are particularly relevant for primary windows: be careful to ensure that they follow the advice on minimum display sizes, display orientation, and half-screen snap.

</item>
Packit 1470ea
<item>

<gui>Quit</gui> sollte alle primären Fenster schließen.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="api-reference">
Packit 1470ea
<title>API-Referenz</title>
Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

<link href="https://developer.gnome.org/gtk3/stable/GtkWindow.html">GtkWindow</link>

</item>
Packit 1470ea
<item>

<link href="https://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html">GtkApplicationWindow</link>

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</page>