summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2007-07-19 13:21:09 +0000
committerKristian Rietveld <kristian@src.gnome.org>2007-07-19 13:21:09 +0000
commitb1ec5f7556cf989f44331cde1db97ed5d4a2d2db (patch)
tree308d98eb4e3fb1355408501b6d00d1de5edb7127 /demos
parent6f52e073b34b109860aad957f2472f58e00d227d (diff)
downloadgtk+-b1ec5f7556cf989f44331cde1db97ed5d4a2d2db.tar.gz
add more convenience API.
2007-07-19 Kristian Rietveld <kris@imendio.com> * gtk/gtk.symbols: * gtk/gtktreeprivate.h: * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context), (gtk_tree_view_[sg]et_tooltip_column): add more convenience API. * tests/testtooltip.c (query_tooltip_tree_view_cb): use gtk_tree_view_get_tooltip_context(). * demos/gtk-demo/demo.ui: add a tooltip column to the list store, set tooltip-column on the tree view. svn path=/trunk/; revision=18496
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/demo.ui4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/gtk-demo/demo.ui b/demos/gtk-demo/demo.ui
index 1c84db2b58..a877223f0d 100644
--- a/demos/gtk-demo/demo.ui
+++ b/demos/gtk-demo/demo.ui
@@ -5,17 +5,20 @@
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gint"/>
+ <column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">John</col>
<col id="1">Doe</col>
<col id="2">25</col>
+ <col id="3">This is the John Doe row</col>
</row>
<row>
<col id="0">Mary</col>
<col id="1">Dole</col>
<col id="2">50</col>
+ <col id="3">This is the Mary Dole row</col>
</row>
</data>
</object>
@@ -173,6 +176,7 @@
<object class="GtkTreeView" id="treeview1">
<property name="visible">True</property>
<property name="model">liststore1</property>
+ <property name="tooltip-column">3</property>
<child>
<object class="GtkTreeViewColumn" id="column1">
<property name="title">Name</property>