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

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="scrollback_adjustment">
    <property name="upper">1000000000</property>
    <property name="step-increment">1</property>
    <property name="page-increment">10</property>
  </object>
  <template class="DDTermPrefsScrolling" 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="show_scrollbar_check">
        <property name="label" translatable="1">Show _scrollbar</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.show-scrollbar</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">0</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="scroll_on_output_check">
        <property name="label" translatable="1">Scroll on _output</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.scroll-on-output</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">1</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="scoll_on_keystroke_check">
        <property name="label" translatable="1">Scroll on _keystroke</property>
        <property name="focusable">1</property>
        <property name="action-name">settings.scroll-on-keystroke</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">2</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="limit_scrollback_check">
        <property name="label" translatable="1">_Limit scrollback to:</property>
        <property name="focusable">1</property>
        <property name="use-underline">1</property>
        <layout>
          <property name="column">0</property>
          <property name="row">3</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="spacing">10</property>
        <layout>
          <property name="column">1</property>
          <property name="row">3</property>
        </layout>
        <child>
          <object class="GtkSpinButton" id="scrollback_spin">
            <property name="focusable">1</property>
            <property name="adjustment">scrollback_adjustment</property>
            <property name="snap-to-ticks">1</property>
            <property name="numeric">1</property>
          </object>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="label" translatable="1">lines</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
