2019-04-04 23:08:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-02-26 00:32:01 +00:00
|
|
|
<interface domain="gtk40">
|
|
|
|
<object class="GtkAdjustment" id="time_adjustment">
|
|
|
|
<property name="upper">10</property>
|
|
|
|
<property name="step-increment">1</property>
|
|
|
|
<property name="page-increment">10</property>
|
|
|
|
<signal name="value-changed" handler="time_adjustment_changed" object="GtkMediaControls" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="volume_adjustment">
|
|
|
|
<property name="upper">1</property>
|
|
|
|
<property name="step-increment">0.1</property>
|
|
|
|
<property name="page-increment">1</property>
|
|
|
|
<property name="value">1</property>
|
|
|
|
<signal name="value-changed" handler="volume_adjustment_changed" object="GtkMediaControls" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<template class="GtkMediaControls" parent="GtkWidget">
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box">
|
|
|
|
<property name="sensitive">0</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="play_button">
|
|
|
|
<property name="receives-default">1</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2021-09-14 07:23:03 +00:00
|
|
|
<property name="has-frame">0</property>
|
2018-02-26 00:32:01 +00:00
|
|
|
<property name="icon-name">media-playback-start-symbolic</property>
|
|
|
|
<signal name="clicked" handler="play_button_clicked" object="GtkMediaControls" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="time_box">
|
|
|
|
<child>
|
2020-04-27 12:28:20 +00:00
|
|
|
<object class="GtkLabel" id="time_label">
|
|
|
|
<attributes>
|
|
|
|
<attribute name="font-features" value="tnum=1"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
2018-02-26 00:32:01 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="seek_scale">
|
|
|
|
<property name="adjustment">time_adjustment</property>
|
2019-03-28 20:35:55 +00:00
|
|
|
<property name="draw_value">0</property>
|
|
|
|
<property name="restrict-to-fill-level">0</property>
|
|
|
|
<property name="hexpand">1</property>
|
2018-02-26 00:32:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-04-27 12:28:20 +00:00
|
|
|
<object class="GtkLabel" id="duration_label">
|
|
|
|
<attributes>
|
|
|
|
<attribute name="font-features" value="tnum=1"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
2018-02-26 00:32:01 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVolumeButton" id="volume_button">
|
|
|
|
<property name="adjustment">volume_adjustment</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|