[gedit-cossa] samples: add notebook sample
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-cossa] samples: add notebook sample
- Date: Tue, 14 Jun 2011 11:20:58 +0000 (UTC)
commit 7a737ddf2554553fe97a38cf0314f50ee2927085
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jun 14 13:23:26 2011 +0200
samples: add notebook sample
po/POTFILES.in | 1 +
src/samples/Makefile.am | 1 +
src/samples/notebook.ui | 79 +++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e54cd0c..fb575d1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,6 +5,7 @@ src/gedit-cossa-plugin.c
[type: gettext/glade]src/samples/checkboxes.ui
[type: gettext/glade]src/samples/color-selector.ui
[type: gettext/glade]src/samples/filechoosers.ui
+[type: gettext/glade]src/samples/notebook.ui
[type: gettext/glade]src/samples/progressbars.ui
[type: gettext/glade]src/samples/recent-chooser.ui
[type: gettext/glade]src/samples/textview.ui
diff --git a/src/samples/Makefile.am b/src/samples/Makefile.am
index 801a51f..9bc6e5c 100644
--- a/src/samples/Makefile.am
+++ b/src/samples/Makefile.am
@@ -5,6 +5,7 @@ samples_DATA = \
checkboxes.ui \
color-selector.ui \
filechoosers.ui \
+ notebook.ui \
progressbars.ui \
recent-chooser.ui \
togglebuttons.ui \
diff --git a/src/samples/notebook.ui b/src/samples/notebook.ui
new file mode 100644
index 0000000..7d1c75d
--- /dev/null
+++ b/src/samples/notebook.ui
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkOffscreenWindow" id="preview-sample-toplevel">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Notebook</property>
+ <child>
+ <object class="GtkNotebook" id="notebook1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <object class="GtkLabel" id="label4">
+ <property name="width_request">200</property>
+ <property name="height_request">100</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">This is a notebook</property>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">page 1</property>
+ </object>
+ <packing>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="label" translatable="yes">button</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">page 2</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button2">
+ <property name="label" translatable="yes">button</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">page 3</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]