<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="action-bars" lang="gl">

  <info>
    <link type="guide" xref="patterns#secondary"/>
    <desc>Barra interior que contén accións</desc>
    <credit type="author">
      <name>Allan Day</name>
      <email>aday@gnome.org</email>
    </credit>
    <license xmlns="http://projectmallard.org/1.0/" href="http://creativecommons.org/licenses/by-sa/4.0/">

  <p>This work is licensed under a
  <link href="http://creativecommons.org/licenses/by-sa/4.0/">Creative
  Commons Attribution-Share Alike 4.0 International License</link>.</p>

</license>
  <credit type="translator copyright"><name>Fran Dieguez</name><email>frandieguez@gnome.org</email><years>2019.</years></credit></info>

<title>Barras de acción</title>

<media type="image" mime="image/svg" src="figures/patterns/action-bar.svg"/>

<p>Unha barra de acción é un contenedor horizontal que está disposto ao longo do borde inferior da xanela. Úsase para mostrar accións para o contido que se mostra arriba.</p>

<section id="when-to-use">
<title>Cando usala</title>

<p>Use an action bar when content items are primarily displayed for editing or management. Since they prominently display potential actions, action bars are not appropriate if content is generally viewed and not edited. In these cases, potential actions can be placed within a <link xref="header-bar-menus">header bar menu</link> instead.</p>

<p>As barras de acción poden mostrarse de forma temporal, cando un modo de <link xref="selection-mode">selección</link> ou edición está activo.</p>

</section>

<section id="guidelines">
<title>Liñas de guía</title>

<list>
<item><p>Group sets of similar functionality together, by aligning them to the left and right of the action bar, or by using separators. The most commonly used items should be placed on the left.</p></item>
<item><p>Try to separate potentially destructive actions, and <link xref="buttons#suggested-and-destructive">style them appropriately</link>.</p></item>
</list>

</section>

<section id="api-reference">
<title>Referencia da API</title>
<list>
<item><p><link href="https://developer.gnome.org/gtk3/stable/GtkActionBar.html">GtkActionBar</link></p></item>
</list>
</section>

</page>
