[rep-gtk] added GtkExpander from 2.12 API



commit 85c8374b5940ae20334cbf04fbd266752e290fd4
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Mon Dec 7 20:45:02 2009 +0100

    added GtkExpander from 2.12 API

 ChangeLog |   19 +++++++++++++++++
 NEWS      |   16 ++++++++++++++
 gtk.defs  |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 101 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bad6b3c..d66f496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2009-12-06  Christopher Bratusek <zanghar freenet de>
+	* gtk.defs: GtkExpander implemented
+	************** gtkexpander.h *****************
+	gtk_expander_new
+	gtk_expander_new_with_mnemonic
+	gtk_expander_set_expanded
+	gtk_expander_get_expanded
+	gtk_expander_set_spacing
+	gtk_expander_get_spacing
+	gtk_expander_set_label
+	gtk_expander_get_label
+	gtk_expander_set_use_underline
+	gtk_expander_get_use_underline
+	gtk_expander_set_use_markup
+	gtk_expander_get_use_markup
+	gtk_expander_set_label_widget
+	gtk_expander_get_label_widget
+	== GtkExpander 2.12 API complete == 
+
 2009-12-05  Christopher Bratusek <zanghar freenet de>
 	* configure.in
 	* debian/rules: use $prefix/lib instead of $prefix/libdir
diff --git a/NEWS b/NEWS
index 210fa07..3aa9ced 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,22 @@ Addtitions:
 	GtkAction support [Jürgen Hötzel]
 
 2.12 APIs added:
+	************** gtkexpander.h *****************
+	gtk_expander_new
+	gtk_expander_new_with_mnemonic
+	gtk_expander_set_expanded
+	gtk_expander_get_expanded
+	gtk_expander_set_spacing
+	gtk_expander_get_spacing
+	gtk_expander_set_label
+	gtk_expander_get_label
+	gtk_expander_set_use_underline
+	gtk_expander_get_use_underline
+	gtk_expander_set_use_markup
+	gtk_expander_get_use_markup
+	gtk_expander_set_label_widget
+	gtk_expander_get_label_widget
+	== GtkExpander 2.12 API complete ==
 	*********** gtkcomboboxentry.h ***********
 	gtk_combo_box_entry_new
 	gtk_combo_box_entry_new_with_model
diff --git a/gtk.defs b/gtk.defs
index c829d91..d3feb02 100644
--- a/gtk.defs
+++ b/gtk.defs
@@ -5424,6 +5424,72 @@
    (GtkAction action)
    (string accelerator)))
 
+;; GtkExpander
+
+(define-object GtkExpander (GtkBin))
+
+(define-func gtk_expander_new
+  GtkWidget
+  (((tvec string in) label)))
+
+(define-func gtk_expander_new_with_mnemonic
+  GtkWidget
+  (((tvec string in) label)))
+
+(define-func gtk_expander_set_expanded
+  none
+  ((GtkExpander expander)
+   (bool expanded)))
+
+(define-func gtk_expander_get_expanded
+  bool
+  ((GtkExpander expander)))
+
+(define-func gtk_expander_set_spacing
+  none
+  ((GtkExpander expander)
+   (int spacing)))
+
+(define-func gtk_expander_get_spacing
+  int
+  ((GtkExpander expander)))
+
+(define-func gtk_expander_set_label
+  none
+  ((GtkExpander expander)
+   ((tvec string in) label)))
+
+(define-func gtk_expander_get_label
+  static_string
+  ((GtkExpander expander)))
+
+(define-func gtk_expander_set_use_underline
+  none
+  ((GtkExpander expander)
+   (bool use_underline)))
+
+(define-func gtk_expander_get_use_underline
+  bool
+  ((GtkExpander expander)))
+
+(define-func gtk_expander_set_use_markup
+  none
+  ((GtkExpander expander)
+   (bool use_markup)))
+
+(define-func gtk_expander_get_use_markup
+  bool
+  ((GtkExpander expander)))
+
+(define-func gtk_expander_set_label_widget
+  none
+  ((GtkExpander expander)
+   (GtkWidget label_widget)))
+
+(define-func gtk_expander_get_label_widget
+  GtkWidget
+  ((GtkExpander expander)))
+
 ;; More defs files
 
 (include "gtktext.defs")



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