[libdazzle] example: update example app a bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] example: update example app a bit
- Date: Fri, 16 Jun 2017 21:37:35 +0000 (UTC)
commit 7c2ca6051342e2caf8b52fb3316368a746fea7b0
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 16 14:34:07 2017 -0700
example: update example app a bit
examples/app/example-window.ui | 20 ++++++++++++++++++++
examples/app/example.gresources.xml | 1 +
examples/app/themes/shared.css | 3 +++
3 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/examples/app/example-window.ui b/examples/app/example-window.ui
index 1d971e2..ea02939 100644
--- a/examples/app/example-window.ui
+++ b/examples/app/example-window.ui
@@ -4,6 +4,26 @@
<child>
<object class="DzlDockBin" id="dockbin">
<property name="visible">true</property>
+ <child>
+ <object class="GtkNotebook" id="notebook">
+ <property name="expand">true</property>
+ <property name="visible">true</property>
+ <child>
+ <object class="GtkScrolledWindow">
+ <property name="visible">true</property>
+ <child>
+ <object class="GtkTextView">
+ <property name="monospace">true</property>
+ <property name="visible">true</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="tab-label">Document 1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
</object>
</child>
</template>
diff --git a/examples/app/example.gresources.xml b/examples/app/example.gresources.xml
index 6a6b401..297c1db 100644
--- a/examples/app/example.gresources.xml
+++ b/examples/app/example.gresources.xml
@@ -6,5 +6,6 @@
<gresource prefix="/org/gnome/example">
<file>gtk/menus.ui</file>
+ <file>themes/shared.css</file>
</gresource>
</gresources>
diff --git a/examples/app/themes/shared.css b/examples/app/themes/shared.css
new file mode 100644
index 0000000..1446e00
--- /dev/null
+++ b/examples/app/themes/shared.css
@@ -0,0 +1,3 @@
+textview {
+ padding: 12px;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]