2007-05-03 [wwp] 2.9.1cvs41
[claws.git] / src / gtk / gtkutils.h
index c307806..52cff00 100644 (file)
 #  include <wchar.h>
 #endif
 
+#ifdef MAEMO
+#include <hildon-widgets/hildon-program.h>
+#include <gtk/gtkmain.h>
+#endif
+
 typedef struct _ComboButton    ComboButton;
 
 struct _ComboButton
@@ -182,9 +187,16 @@ gboolean gtkut_text_view_search_string_backward    (GtkTextView *text, const gchar
                                        gboolean case_sens);
 
 GtkWidget *label_window_create(const gchar *str);
+void label_window_destroy(GtkWidget *widget);
+
 void gtkut_window_popup                        (GtkWidget      *window);
+#ifdef MAEMO
+HildonWindow *gtkut_window_new         (GtkWindowType   type,
+                                        const gchar    *class);
+#else
 GtkWidget *gtkut_window_new            (GtkWindowType   type,
                                         const gchar    *class);
+#endif
 
 void gtkut_widget_get_uposition                (GtkWidget      *widget,
                                         gint           *px,
@@ -235,4 +247,11 @@ gboolean gtkut_tree_model_text_iter_prev(GtkTreeModel *model,
 gboolean gtkut_tree_model_get_iter_last(GtkTreeModel *model,
                                 GtkTreeIter *iter);
 
+gboolean gtkut_tree_iter_comp(GtkTreeModel *model, 
+                                    GtkTreeIter *iter1, 
+                                    GtkTreeIter *iter2);
+
+gint gtkut_list_view_get_selected_row(GtkWidget *list_view);
+gboolean gtkut_list_view_select_row(GtkWidget *list, gint row);
+
 #endif /* __GTKUTILS_H__ */