[rep-gtk] added GtkFontButton from 2.12 API (complete)
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rep-gtk] added GtkFontButton from 2.12 API (complete)
- Date: Wed, 29 Jul 2009 17:27:03 +0000 (UTC)
commit 3a87278f44fb62a232e5c7b34b8175d75455219f
Author: chrisb <zanghar freenet de>
Date: Wed Jul 29 19:26:01 2009 +0200
added GtkFontButton from 2.12 API (complete)
ChangeLog | 17 +++++++++++++++
gcb.patch | 46 -----------------------------------------
gtk.defs | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 85 insertions(+), 46 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c1a00df..9877e22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,23 @@
gtk_radio_button_new_with_label
gtk_radio_button_new_with_mnemonic
== GtkRadioButton 2.12 API complete ==
+ == GtkColorButton 2.12 already up-to-date ==
+ == GtkFileChooserButton needs GtkFileChooserAction first ==
+ *********** gtkfontbutton.h ***********
+ gtk_font_button_new
+ gtk_font_button_new_with_font
+ gtk_font_button_get_title
+ gtk_font_button_set_title
+ gtk_font_button_get_use_font
+ gtk_font_button_set_use_font
+ gtk_font_button_get_use_size
+ gtk_font_button_set_use_size
+ gtk_font_button_get_font_name
+ gtk_font_button_set_font_name
+ gtk_font_button_get_show_style
+ gtk_font_button_set_show_style
+ gtk_font_button_get_show_size
+ gtk_font_button_set_show_size
2009-07-15 Christopher Bratusek <zanghar freenet de>
* configure.in: small improvement
diff --git a/gtk.defs b/gtk.defs
index 31b80dc..4f0ab8c 100644
--- a/gtk.defs
+++ b/gtk.defs
@@ -4781,6 +4781,74 @@
((GtkColorButton color_button)
(string title)))
+;; XXX GtkFileChooserButton needs support of GtkFileChooserAction
+
+;; GtkFontButton
+
+(define-object GtkFontButton (GtkButton))
+
+(define-func gtk_font_button_new
+ GtkWidget
+ ())
+
+(define-func gtk_font_button_new_with_font
+ GtkWidget
+ ((string font)))
+
+(define-func gtk_font_button_get_title
+ string
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_title
+ none
+ ((GtkFontButton button)
+ (string title)))
+
+(define-func gtk_font_button_get_use_font
+ bool
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_use_font
+ none
+ ((GtkFontButton button)
+ (bool option)))
+
+(define-func gtk_font_button_get_use_size
+ bool
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_use_size
+ none
+ ((GtkFontButton button)
+ (bool option)))
+
+(define-func gtk_font_button_get_font_name
+ string
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_font_name
+ none
+ ((GtkFontButton button)
+ (string font)))
+
+(define-func gtk_font_button_get_show_style
+ bool
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_show_style
+ none
+ ((GtkFontButton button)
+ (bool option)))
+
+(define-func gtk_font_button_get_show_size
+ bool
+ ((GtkFontButton button)))
+
+(define-func gtk_font_button_set_show_size
+ none
+ ((GtkFontButton button)
+ (bool option)))
+
;; More defs files
(include "gtktext.defs")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]