diff finch/libgnt/gntutils.h @ 15979:2c81ebc7bf0b

Add a way to get a list of bindings for a widget. This can be used by, eg, a window-manager to show helpful messages to the user.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 04 Apr 2007 03:47:13 +0000
parents 0e3a8505ebbe
children 5f204f55af09
line wrap: on
line diff
--- a/finch/libgnt/gntutils.h	Sun Apr 01 08:05:59 2007 +0000
+++ b/finch/libgnt/gntutils.h	Wed Apr 04 03:47:13 2007 +0000
@@ -34,3 +34,8 @@
 				  const GValue          *handler_return,
 				  gpointer               dummy);
 
+/**
+ * Returns a GntTree populated with "key" -> "binding" for the widget.
+ */
+GntWidget *gnt_widget_bindings_view(GntWidget *widget);
+