[rep-gtk] preview related GtkFileChooser functions



commit 0ce8447eefbd37dd3a06148c9cd6b0259533f103
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Tue Jan 5 11:28:44 2010 +0100

    preview related GtkFileChooser functions

 ChangeLog           |   12 ++++++++++++
 gtkfilechooser.defs |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a192caa..32cf658 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-01-05  Christopher Bratusek <zanghar freenet de>
+	* gtkfilechooser.defs:
+	****************** gtkfilechooser.h *************
+	gtk_file_chooser_set_preview_widget
+	gtk_file_chooser_get_preview_widget
+	gtk_file_chooser_set_preview_widget_active
+	gtk_file_chooser_get_preview_widget_active
+	gtk_file_chooser_set_use_preview_label
+	gtk_file_chooser_get_use_preview_label
+	gtk_file_chooser_get_preview_filename
+	gtk_file_chooser_get_preview_uri
+
 2010-01-03  Christopher Bratusek <zanghar freenet de>
 	* debian/rules: don't remove config.{guess,sub} on rules/clean
 
diff --git a/gtkfilechooser.defs b/gtkfilechooser.defs
index e7afffa..d7788bc 100644
--- a/gtkfilechooser.defs
+++ b/gtkfilechooser.defs
@@ -145,6 +145,43 @@
   string
   ((GtkFileChooser chooser)))
 
+;; GtkFileChooser [Preview]
+
+(define-func gtk_file_chooser_set_preview_widget
+  none
+  ((GtkFileChooser chooser)
+   (GtkWidget widget)))
+
+(define-func gtk_file_chooset_get_preview_widget
+  GtkWidget
+  ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_set_preview_widget_active
+  none
+  ((GtkFileChooser chooser)
+   (bool active)))
+
+(define-func gtk_file_chooser_get_preview_widget_active
+  bool
+  ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_set_use_preview_label
+  none
+  ((GtkFileChooser chooser)
+   (bool use_label)))
+
+(define-func gtk_file_chooser_get_use_preview_label
+  bool
+  ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_get_preview_filename
+  string
+  ((GtkFileChooser chooser)))
+
+(define-func gtk_file_chooser_get_preview_uri
+  string
+  ((GtkFileChooser chooser)))
+
 ;; GtkFileChooserButton
 
 (define-object GtkFileChooserButton (GtkHbox))



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