feat: add base layout for dashboard applcation list
This commit is contained in:
@@ -7,11 +7,15 @@ diya-taskbar
|
||||
|
||||
diya-dashboard
|
||||
{
|
||||
background-color: blue;
|
||||
background-color: lightgray;
|
||||
}
|
||||
|
||||
#diya_shell_background
|
||||
{
|
||||
background-image:url("file:///etc/xdg/labwc/wpp.jpg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
flowbox flowboxchild {
|
||||
border: 5px solid black;
|
||||
}
|
@@ -20,7 +20,7 @@
|
||||
<child>
|
||||
<object class="GtkSearchEntry" id="search_entry">
|
||||
<property name="hexpand">1</property>
|
||||
<!--signal name="search-changed" handler="search_text_changed"/-->
|
||||
<signal name="search-changed" handler="diya_dashboard_search_text_changed"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
@@ -31,17 +31,52 @@
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="tmp">
|
||||
<property name="visible">1</property>
|
||||
<object class="GtkStack" id="stack">
|
||||
<property name="vexpand">1</property>
|
||||
<property name="label" translatable="yes">content</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>
|
||||
|
||||
<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>
|
||||
@@ -52,7 +87,7 @@
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</child-->
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user