diff finch/libgnt/gnttextview.h @ 18426:841670dd24e1

Utility function to start the pager with the contents of a textview. The default pager is 'less', and the default key-combination to trigger it is 'a-v'. These can be changed like: [pager] path=/some/other/pager key=a-e
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 03 Jul 2007 11:17:35 +0000
parents e659842fe66d
children 1148da95ddeb
line wrap: on
line diff
--- a/finch/libgnt/gnttextview.h	Tue Jul 03 11:09:19 2007 +0000
+++ b/finch/libgnt/gnttextview.h	Tue Jul 03 11:17:35 2007 +0000
@@ -184,6 +184,13 @@
 void gnt_text_view_attach_scroll_widget(GntTextView *view, GntWidget *widget);
 
 /**
+ * 
+ * @param view
+ * @param widget
+ */
+void gnt_text_view_attach_pager_widget(GntTextView *view, GntWidget *pager);
+
+/**
  * Set a GntTextViewFlag for the textview widget.
  *
  * @param view  The textview widget