diff finch/libgnt/gntwidget.h @ 18566:3c634117a7ef

Allow disabling the widget actions on specific widgets. This allows, for example, to search in the tree without triggering some action.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 20 Jul 2007 21:46:29 +0000
parents 5c6f019e48f8
children 44b4e8bd759b
line wrap: on
line diff
--- a/finch/libgnt/gntwidget.h	Fri Jul 20 21:41:05 2007 +0000
+++ b/finch/libgnt/gntwidget.h	Fri Jul 20 21:46:29 2007 +0000
@@ -65,6 +65,7 @@
 	GNT_WIDGET_GROW_Y         = 1 << 9,
 	GNT_WIDGET_INVISIBLE      = 1 << 10,
 	GNT_WIDGET_TRANSIENT      = 1 << 11,
+	GNT_WIDGET_DISABLE_ACTIONS = 1 << 12,
 } GntWidgetFlags;
 
 /* XXX: This will probably move elsewhere */