95 lines
5.4 KiB
XML
95 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="DiyaDashboardWidget" parent="DiyaShellWindow">
|
|
<!--property name="title" translatable="yes">Example Application</property-->
|
|
<!--property name="default-width">600</property>
|
|
<property name="default-height">400</property-->
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkRevealer" id="revealer">
|
|
<property name="transition-type">slide-up</property>
|
|
<property name="reveal-child">0</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox" id="header">
|
|
<property name="orientation">horizontal</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="hexpand">1</property>
|
|
<signal name="search-changed" handler="diya_dashboard_search_text_changed"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkMenuButton" id="gears">
|
|
<property name="direction">none</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="stack">
|
|
<property name="vexpand">1</property>
|
|
<property name="hexpand">1</property>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">app_list</property>
|
|
<property name="title">Application list</property>
|
|
<property name="child">
|
|
<object class="GtkScrolledWindow" id="sidebar-sw">
|
|
<property name="hscrollbar-policy">never</property>
|
|
<child>
|
|
<object class="GtkFlowBox" id="app_list_box">
|
|
<property name="activate-on-single-click">1</property>
|
|
<signal name="child-activated" handler="diya_dashboard_app_launch"/>
|
|
</object>
|
|
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">search_list</property>
|
|
<property name="title">Search</property>
|
|
<property name="child">
|
|
<object class="GtkLabel">
|
|
<property name="label">second stack child</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child type="title">
|
|
<object class="GtkStackSwitcher" id="tabs">
|
|
<property name="stack">stack</property>
|
|
</object>
|
|
</child>
|
|
|
|
<!--child>
|
|
<object class="GtkBox" id="taskbar">
|
|
<property name="orientation">horizontal</property>
|
|
<child>
|
|
<object class="GtkButton" id="btn_launch">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Terminal</property>
|
|
<signal name="clicked" handler="diya_dashboard_launch"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child-->
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|