<?xml version="1.0"?>
<!-- Generated with glade 3.40.0 

SPDX-FileCopyrightText: 2022 Aleksandr Mezin <mezin.alexander@gmail.com>

SPDX-License-Identifier: GPL-3.0-or-later

-->
<interface domain="ddterm@amezin.github.com">
  <requires lib="gtk" version="4.0"/>
  <object class="GtkAdjustment" id="tab_label_width_adjustment">
    <property name="upper">0.5</property>
    <property name="step-increment">0.01</property>
    <property name="page-increment">0.10</property>
  </object>
  <template class="DDTermPrefsTabs" parent="GtkGrid">
    <property name="margin-start">10</property>
    <property name="margin-end">10</property>
    <property name="margin-top">10</property>
    <property name="margin-bottom">10</property>
    <property name="row-spacing">10</property>
    <property name="column-spacing">10</property>
    <child>
      <object class="GtkCheckButton" id="expand_tabs_check">
        <property name="label" translatable="1">Expand tabs</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.tab-expand</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">4</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_tab_close_buttons_check">
        <property name="label" translatable="1">Show _close buttons</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.tab-close-buttons</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">5</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_new_tab_button_check">
        <property name="label" translatable="1">"_New Tab (Last)" button</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.new-tab-button</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">8</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_tab_switcher_check">
        <property name="label" translatable="1">Tab _switcher popup</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.tab-switcher-popup</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">9</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel">
        <property name="halign">start</property>
        <property name="label" translatable="1">Show tab _bar:</property>
        <property name="use-underline">1</property>
        <property name="mnemonic-widget">tab_policy_combo</property>
        <layout>
          <property name="column">0</property>
          <property name="row">0</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkComboBoxText" id="tab_policy_combo">
        <property name="focusable">1</property>
        <property name="hexpand">1</property>
        <items>
          <item id="always" translatable="yes">Always</item>
          <item id="automatic" translatable="yes">Automatic</item>
          <item id="never" translatable="yes">Never</item>
        </items>
        <layout>
          <property name="column">1</property>
          <property name="row">0</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_new_tab_front_button_check">
        <property name="label" translatable="1">"_New Tab (First)" button</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.new-tab-front-button</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">7</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel">
        <property name="halign">start</property>
        <property name="label" translatable="1">Tab bar position:</property>
        <property name="use-underline">1</property>
        <property name="mnemonic-widget">tab_position_combo</property>
        <layout>
          <property name="column">0</property>
          <property name="row">1</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkComboBoxText" id="tab_position_combo">
        <property name="focusable">1</property>
        <property name="hexpand">1</property>
        <items>
          <item id="bottom" translatable="yes">Bottom</item>
          <item id="top" translatable="yes">Top</item>
          <item id="left" translatable="yes">Left</item>
          <item id="right" translatable="yes">Right</item>
        </items>
        <layout>
          <property name="column">1</property>
          <property name="row">1</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_tab_border">
        <property name="label" translatable="1">Show border</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.notebook-border</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">10</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel">
        <property name="halign">start</property>
        <property name="label" translatable="1">Tab width:</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkScale" id="tab_label_width_scale">
        <property name="draw-value">1</property>
        <property name="focusable">1</property>
        <property name="hexpand">1</property>
        <property name="adjustment">tab_label_width_adjustment</property>
        <property name="show-fill-level">1</property>
        <property name="round-digits">2</property>
        <property name="digits">2</property>
        <layout>
          <property name="column">1</property>
          <property name="row">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel">
        <property name="halign">start</property>
        <property name="label" translatable="1">Ellipsize tab labels:</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">3</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkComboBoxText" id="tab_label_ellipsize_combo">
        <property name="focusable">1</property>
        <property name="hexpand">1</property>
        <items>
          <item id="none" translatable="yes">None</item>
          <item id="start" translatable="yes">Start</item>
          <item id="middle" translatable="yes">Middle</item>
          <item id="end" translatable="yes">End</item>
        </items>
        <layout>
          <property name="column">1</property>
          <property name="row">3</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="show_tab_shortcuts">
        <property name="label" translatable="1">Show keyboard shortcuts</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.tab-show-shortcuts</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">6</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="save_restore_session_check">
        <property name="label" translatable="1">_Restore previous tabs on startup</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.save-restore-session</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">11</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
  </template>
</interface>
