[rep-gtk] added GtkFileChooser from 2.12 API



commit 0c3d26998375a7485febc847b1dcf5cc14cf895c
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Tue Jan 5 11:56:24 2010 +0100

    added GtkFileChooser from 2.12 API

 ChangeLog           |    9 ++++++++
 gtkfilechooser.defs |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9f08cc3..f63fc75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,15 @@
 	gtk_file_chooser_get_preview_uri
 	gtk_file_chooset_set_extra_widget
 	gtk_file_chooset_get_extra_widget
+	gtk_file_chooser_add_filter
+	gtk_file_chooser_remove_filter
+	gtk_file_chooser_set_filter
+	gtk_file_chooser_get_filter
+	gtk_file_chooser_add_shortcut_folder
+	gtk_file_chooser_remove_shortcut_folder
+	gtk_file_chooser_add_shortcut_folder_uri
+	gtk_file_chooser_remove_shortcut_folder_uri
+	== GtkFileChooser 2.12 API complete ==
 	****************** gtkfilefilter.h **************
 	GtkFileFilter (object)
 	GtkFileFilterFlags (enum)
diff --git a/gtkfilechooser.defs b/gtkfilechooser.defs
index b657e86..f7bd6ce 100644
--- a/gtkfilechooser.defs
+++ b/gtkfilechooser.defs
@@ -251,7 +251,65 @@
 
 ;; GtkFileChooser [Filter]
 
+(define-func gtk_file_chooser_add_filter
+  none
+  ((GtkFileChooser chooser)
+   (GtkFileFilter filter)))
+
+(define-func gtk_file_chooser_remove_filter
+  none
+  ((GtkFileChooser chooser)
+   (GtkFileFilter filter)))
+
+;; XXX Need GSList Returntype support
+;;  (define-func gtk_file_chooser_list_filters
+;;    GSList
+;;    ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_set_filter
+  none
+  ((GtkFileChooser chooser)
+   (GtkFileFilter filter)))
+
+(define-func gtk_file_chooser_get_filter
+  GtkFileFilter
+  ((GtkFileChooser chooser)))
+
+;; GtkFileChooser [Shortcuts]
+
+(define-func gtk_file_chooser_add_shortcut_folder
+  bool
+  ((GtkFileChooser chooser)
+   ((tvec string in) folder)
+   (GPointer gerror error)))
+
+(define-func gtk_file_chooser_remove_shortcut_folder
+  bool
+  ((GtkFileChooser chooser)
+   ((tvec string in) folder)
+   (GPointer gerror error)))
+
+;; XXX Need GSList Returntype support
+;; (define-func gtk_file_chooser_list_shortcut_folders
+;;   GSList
+;;   ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_add_shortcut_folder_uri
+  bool
+  ((GtkFileChooser chooser)
+   ((tvec string in) folder)
+   (GPointer gerror error)))
+
+(define-func gtk_file_chooser_remove_shortcut_folder_uri
+  bool
+  ((GtkFileChooser chooser)
+   ((tvec string in) folder)
+   (GPointer gerror error)))
 
+;; XXX Need GSList Returntype support
+;; (define-func gtk_file_chooser_list_shortcut_folder_uris
+;;   GSList
+;;   ((GtkFileChooser chooser)))
 
 ;; GtkFileChooserButton
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]