aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ui_util.h
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2004-09-02 16:58:43 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2004-09-02 16:58:43 +0000
commit55691363515466d1c6d216cbab90fbb6cf7a0f88 (patch)
treebd16dcdfa41dfdcad49356195289d12f846a2d4a /gtk/ui_util.h
parentf4f2b80b21b6c3174912c9d68f55b0a3e08861aa (diff)
Add support for copying hex data to the clipboard. Submitted by Thomas
Palmer. What we really should do is add this to the Edit menu as well. svn path=/trunk/; revision=11883
Diffstat (limited to 'gtk/ui_util.h')
-rw-r--r--gtk/ui_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/ui_util.h b/gtk/ui_util.h
index 9ac69a2e89..ca7f3c024c 100644
--- a/gtk/ui_util.h
+++ b/gtk/ui_util.h
@@ -291,4 +291,10 @@ extern GtkWidget *xpm_to_widget(const char ** xpm);
*/
extern GtkWidget *xpm_to_widget_from_parent(GtkWidget *parent, const char ** xpm);
+/** Copy a GString to the clipboard.
+ *
+ * @param str GString that is to be copied to the clipboard.
+ */
+extern void copy_to_clipboard(GString *str);
+
#endif /* __GTKGUIUI_UTIL_H__ */