windowContents: Rename from fullscreenWidget
Also change some naming, comments, and bindings.
This commit is contained in:
parent
bb9b834a22
commit
cd72a30d5f
7 changed files with 214 additions and 206 deletions
25
src/widgets/window_content.ui
Normal file
25
src/widgets/window_content.ui
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="LpWindowContent" parent="AdwBin">
|
||||
<binding name="fullscreened">
|
||||
<lookup name="fullscreened" type="GtkWindow">
|
||||
<lookup name="root">LpWindowContent</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<binding name="is-showing-image">
|
||||
<lookup name="is-showing-image" type="LpWindow">
|
||||
<lookup name="root">LpWindowContent</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<property name="child">
|
||||
<object class="AdwToolbarView" id="toolbar_view">
|
||||
<child type="top">
|
||||
<object class="LpShyBin" id="header_container">
|
||||
<property name="child" bind-source="LpWindowContent" bind-property="headerbar" />
|
||||
</object>
|
||||
</child>
|
||||
<property name="content" bind-source="LpWindowContent" bind-property="content" />
|
||||
</object>
|
||||
</property>
|
||||
</template>
|
||||
</interface>
|
||||
Loading…
Add table
Add a link
Reference in a new issue