2019-12-09 01:22:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface domain="gtk40">
|
|
|
|
<template class="GtkDropDown" parent="GtkWidget">
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="button">
|
|
|
|
<signal name="toggled" handler="button_toggled"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="can-focus">0</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="button_stack">
|
|
|
|
<property name="halign">fill</property>
|
|
|
|
<property name="hexpand">1</property>
|
2020-06-12 03:24:36 +00:00
|
|
|
<property name="hhomogeneous">0</property>
|
2019-12-09 01:22:06 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">empty</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">(None)</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">item</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkListItemWidget" id="button_item"/>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBuiltinIcon">
|
|
|
|
<property name="css-name">arrow</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkPopover" id="popup">
|
|
|
|
<signal name="closed" handler="popover_closed"/>
|
2020-06-15 14:23:39 +00:00
|
|
|
<property name="halign">start</property>
|
2019-12-09 01:22:06 +00:00
|
|
|
<property name="has-arrow">0</property>
|
|
|
|
<property name="autohide">1</property>
|
2020-06-15 14:23:39 +00:00
|
|
|
<style>
|
|
|
|
<class name="menu"/>
|
|
|
|
</style>
|
2019-12-09 01:22:06 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
|
|
<signal name="search-changed" handler="search_changed"/>
|
2020-06-05 18:26:30 +00:00
|
|
|
<signal name="stop-search" handler="search_stop"/>
|
2019-12-09 01:22:06 +00:00
|
|
|
<property name="visible">0</property>
|
2020-10-27 19:35:34 +00:00
|
|
|
<property name="max-width-chars">6</property>
|
|
|
|
<property name="width-chars">6</property>
|
2019-12-09 01:22:06 +00:00
|
|
|
<property name="placeholder-text" translatable="yes">Search…</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
|
|
|
<property name="vscrollbar-policy">automatic</property>
|
|
|
|
<property name="max-content-height">400</property>
|
|
|
|
<property name="propagate-natural-height">1</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListView" id="popup_list">
|
|
|
|
<signal name="activate" handler="row_activated"/>
|
|
|
|
<property name="single-click-activate">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|