<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="action-bars" xml: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>
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Fran Dieguez</mal:name>
      <mal:email>frandieguez@gnome.org</mal:email>
      <mal:years>2019.</mal:years>
    </mal: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>
