summaryrefslogtreecommitdiffstats
path: root/test/control.glade
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-04 10:49:26 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-04 10:49:26 +0200
commit39c6bb082696283e74ee72a2097749a4de1a418b (patch)
treec3b7e2cf8e9710d6eac6b330ff58adf4b28d1ee8 /test/control.glade
parentb67947751a24366137844cd1a3b41bed7095bf76 (diff)
downloaduca-39c6bb082696283e74ee72a2097749a4de1a418b.tar.gz
uca-39c6bb082696283e74ee72a2097749a4de1a418b.tar.bz2
uca-39c6bb082696283e74ee72a2097749a4de1a418b.tar.xz
uca-39c6bb082696283e74ee72a2097749a4de1a418b.zip
Add property tree view
The standard tree view widget is not capable of setting individual cell renderers per row. Thus I made one with a custom cell renderer that uses an appropriate cell renderer depending of the property type. I developed this independently and put it up on Github at https://github.com/matze/EggPropertyTreeView.
Diffstat (limited to 'test/control.glade')
-rw-r--r--test/control.glade30
1 files changed, 1 insertions, 29 deletions
diff --git a/test/control.glade b/test/control.glade
index 36ed0ce..d70a343 100644
--- a/test/control.glade
+++ b/test/control.glade
@@ -196,35 +196,7 @@
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
- <object class="GtkTreeView" id="treeview-properties">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="model">camera-properties</property>
- <property name="headers_clickable">False</property>
- <property name="search_column">0</property>
- <child>
- <object class="GtkTreeViewColumn" id="namecolumn">
- <property name="title">Name</property>
- <child>
- <object class="GtkCellRendererText" id="namecell"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkTreeViewColumn" id="valuecolumn">
- <property name="title">Value</property>
- <child>
- <object class="GtkCellRendererText" id="valuecell"/>
- <attributes>
- <attribute name="text">1</attribute>
- </attributes>
- </child>
- </object>
- </child>
- </object>
+ <placeholder/>
</child>
</object>
<packing>