[turbine/implement-interface: 3/4] [ui] Add "Implement Interface" ui
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [turbine/implement-interface: 3/4] [ui] Add "Implement Interface" ui
- Date: Mon, 7 Sep 2009 15:40:14 +0000 (UTC)
commit 1e25df3adfe62a852d4d39df3e29eb4371003e3b
Author: Thomas Wood <thomas wood intel com>
Date: Mon Sep 7 16:39:25 2009 +0100
[ui] Add "Implement Interface" ui
src/turbine/turbine.xml | 123 +++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 119 insertions(+), 4 deletions(-)
---
diff --git a/src/turbine/turbine.xml b/src/turbine/turbine.xml
index 60f53fa..818a9cf 100644
--- a/src/turbine/turbine.xml
+++ b/src/turbine/turbine.xml
@@ -2,6 +2,12 @@
<interface>
<!-- interface-requires gtk+ 2.12 -->
<!-- interface-naming-policy toplevel-contextual -->
+ <object class="GtkListStore" id="interfaces-model">
+ <columns>
+ <!-- column-name type-name -->
+ <column type="gchararray"/>
+ </columns>
+ </object>
<object class="GtkWindow" id="main-window">
<property name="title" translatable="yes">GObject Generator</property>
<property name="resizable">False</property>
@@ -210,6 +216,115 @@
</packing>
</child>
<child>
+ <object class="GtkExpander" id="expander1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <object class="GtkAlignment" id="alignment4">
+ <property name="visible">True</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="interfaces-treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="model">interfaces-model</property>
+ <child>
+ <object class="GtkTreeViewColumn" id="treeviewcolumn1">
+ <property name="title">Interface Type</property>
+ <child>
+ <object class="GtkCellRendererText" id="interfaces-treeviewcell">
+ <property name="editable">True</property>
+ </object>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkButton" id="add-interface-button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <child>
+ <object class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="stock">gtk-add</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="remove-interface-button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <child>
+ <object class="GtkImage" id="image2">
+ <property name="visible">True</property>
+ <property name="stock">gtk-remove</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label10">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Implement Interfaces</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkFrame" id="frame3">
<property name="visible">True</property>
<property name="label_xalign">0</property>
@@ -282,7 +397,7 @@
</child>
</object>
<packing>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -290,7 +405,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="about-button">
- <property name="label" translatable="yes">gtk-about</property>
+ <property name="label">gtk-about</property>
<property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
@@ -304,7 +419,7 @@
</child>
<child>
<object class="GtkButton" id="save-button">
- <property name="label" translatable="yes">gtk-save-as</property>
+ <property name="label">gtk-save-as</property>
<property name="sensitive">False</property>
<property name="can_focus">False</property>
<property name="receives_default">True</property>
@@ -320,7 +435,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">3</property>
+ <property name="position">4</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]