You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
198 lines
7.7 KiB
198 lines
7.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.22.1 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkListStore" id="storeServerProps">
|
|
<columns>
|
|
<!-- column-name Label -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name Value -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkListStore" id="storeServers">
|
|
<columns>
|
|
<!-- column-name Name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name Hostname -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name Domain -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name IP -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name Port -->
|
|
<column type="guint64"/>
|
|
<!-- column-name UserDefined -->
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
</object>
|
|
<template class="Gjs_SnapControlWindow" parent="GtkApplicationWindow">
|
|
<property name="can_focus">False</property>
|
|
<property name="show_menubar">False</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar" id="titlebar">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="title" translatable="yes">Snapcast Control</property>
|
|
<property name="subtitle" translatable="yes">Disconnected</property>
|
|
<property name="show_close_button">True</property>
|
|
<property name="decoration_layout">:menu,minimize,maximize,close</property>
|
|
<child>
|
|
<object class="GtkComboBox" id="cbtServers">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="model">storeServers</property>
|
|
<property name="id_column">0</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="Hostname"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="Port"/>
|
|
<attributes>
|
|
<attribute name="text">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinner" id="spinner">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleButton" id="btnInfo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">dialog-information-symbolic</property>
|
|
<property name="use_fallback">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkMenuButton" id="btnAppMenu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">open-menu-symbolic</property>
|
|
<property name="use_fallback">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="sw">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow_type">in</property>
|
|
<property name="min_content_width">600</property>
|
|
<property name="min_content_height">250</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">10</property>
|
|
<property name="margin_right">10</property>
|
|
<property name="margin_top">10</property>
|
|
<property name="margin_bottom">10</property>
|
|
<child>
|
|
<object class="GtkBox" id="vBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="labelState">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes"><i>Not connected to Snapcast server.</i></property>
|
|
<property name="use_markup">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
<object class="GtkPopover" id="popoverConfig">
|
|
<property name="can_focus">False</property>
|
|
<property name="border_width">6</property>
|
|
<property name="relative_to">btnInfo</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="poTreeView">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="model">storeServerProps</property>
|
|
<property name="headers_visible">False</property>
|
|
<property name="enable_search">False</property>
|
|
<property name="show_expanders">False</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection">
|
|
<property name="mode">none</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="Label">
|
|
<property name="sizing">fixed</property>
|
|
<property name="title" translatable="yes">Label</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="0"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="Value">
|
|
<property name="sizing">fixed</property>
|
|
<property name="title" translatable="yes">Value</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="1"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|