summaryrefslogtreecommitdiffstats
path: root/tests/interactive-panels/gtp-dynamic-panel.ui
blob: 30e1bdd97a134fd7598dc4328d7d1cd6125a41de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.22"/>
  <template class="GtpDynamicPanel" parent="CcPanel">
    <child type="content">
      <object class="AdwStatusPage">
        <property name="icon-name">weather-clear-night-symbolic</property>
        <property name="title">Dynamic Panel</property>
        <property name="description">Dynamic panels may hide if you don't have some hardware. Use the button below to toggle the panel visibility:</property>

        <child>
          <object class="GtkButton">
            <property name="halign">center</property>
            <property name="label">Hide</property>
            <signal name="clicked" handler="on_button_clicked_cb" object="GtpDynamicPanel" swapped="no" />
            <style>
              <class name="pill" />
            </style>
          </object>
        </child>

      </object>
    </child>

  </template>
</interface>