aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/text_page.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-05 09:57:11 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-05 09:57:11 +0000
commit11edbf29b1bfc1c791ca5fb698b0c627f3d5acf6 (patch)
tree200414c9b88725448fe15c88d2a4740f95f5babd /gtk/text_page.h
parentb3943d6cd4e22ac93d5f93d19a56eb38804c6c1a (diff)
cut text_page related things from help_page.c and
move into new file text_page.c svn path=/trunk/; revision=11115
Diffstat (limited to 'gtk/text_page.h')
-rw-r--r--gtk/text_page.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/text_page.h b/gtk/text_page.h
index d31a4f04aa..d21c3e93b2 100644
--- a/gtk/text_page.h
+++ b/gtk/text_page.h
@@ -1,7 +1,7 @@
/* text_page.h
* Declarations of routine to construct a simple text page from a file.
*
- * $Id: text_page.h,v 1.3 2004/06/03 14:54:26 ulfl Exp $
+ * $Id: text_page.h,v 1.4 2004/06/05 09:57:11 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -27,7 +27,6 @@
/** @file
* Construct a simple text page widget from a file.
- * @todo move this and the implementation to ui_util.
*/
/** Construct a simple text page widget from a file (UTF8 encoded).
@@ -37,4 +36,11 @@
*/
extern GtkWidget * text_page_new(const char *absolute_path);
+/** Clear and insert the file content (again).
+ *
+ * @param page the text_page from text_page_new()
+ * @param absolute_path the path to the text file
+ */
+extern void text_page_redraw(GtkWidget *page, const char *absolute_path);
+
#endif /* __TEXT_PAGE_H__ */