sync with sylpheed 0.7.0cvs27
[claws.git] / src / gtkutils.h
index 33e94e4..0cc5c3a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2001 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2002 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #include <gdk/gdk.h>
 #include <gtk/gtkmain.h>
 #include <gtk/gtkwidget.h>
+#include <gtk/gtkcontainer.h>
+#include <gtk/gtkeditable.h>
 #include <gtk/gtkctree.h>
 #include <gtk/gtkcombo.h>
-#include <gtk/gtktext.h>
+#include "gtkstext.h"
 #include <stdlib.h>
 #if HAVE_WCHAR_H
 #  include <wchar.h>
@@ -100,11 +102,27 @@ void gtkut_clist_set_focus_row            (GtkCList       *clist,
 void gtkut_combo_set_items             (GtkCombo       *combo,
                                         const gchar    *str1, ...);
 
-gboolean gtkut_text_match_string       (GtkText        *text,
+void gtkut_container_remove            (GtkContainer   *container,
+                                        GtkWidget      *widget);
+
+gboolean gtkut_stext_match_string      (GtkSText       *text,
                                         gint            pos,
                                         wchar_t        *wcs,
                                         gint            len,
                                         gboolean        case_sens);
+guint gtkut_stext_str_compare_n                (GtkSText       *text,
+                                        guint           pos1,
+                                        guint           pos2,
+                                        guint           len,
+                                        guint           text_len);
+guint gtkut_stext_str_compare          (GtkSText       *text,
+                                        guint           start_pos,
+                                        guint           text_len,
+                                        const gchar    *str);
+gboolean gtkut_stext_is_uri_string     (GtkSText       *text,
+                                        guint           start_pos,
+                                        guint           text_len);
+void gtk_stext_clear                   (GtkSText       *text);
 
 void gtkut_widget_disable_theme_engine (GtkWidget      *widget);
 void gtkut_widget_wait_for_draw                (GtkWidget      *widget);
@@ -113,7 +131,7 @@ void gtkut_widget_get_uposition             (GtkWidget      *widget,
                                         gint           *py);
 void gtkut_widget_init                 (void);
 
-void gtk_widget_set_app_icon           (GtkWidget      *widget);
-void gtk_widget_set_composer_icon      (GtkWidget      *widget);
+void gtkut_widget_set_app_icon         (GtkWidget      *widget);
+void gtkut_widget_set_composer_icon    (GtkWidget      *widget);
 
 #endif /* __GTKUTILS_H__ */