[gtkmm] Settings: Wrap several new properties.



commit 2908e7334ce5c11b9d2a8c9fd4ea016e970ca1f2
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 26 19:25:48 2012 +0200

    Settings: Wrap several new properties.
    
    * gtk/src/settings.hg: Some of these are new in GTK+ 3.4, but some
    are older. Note that all seem to be in gtksettings.c now instead
    of across various files.

 ChangeLog           |    8 ++++++++
 gtk/src/settings.hg |   24 ++++++++++++++++++------
 2 files changed, 26 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7026f81..238a941 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2012-03-26  Murray Cumming  <murrayc murrayc com>
 
+	Settings: Wrap several new properties.
+
+	* gtk/src/settings.hg: Some of these are new in GTK+ 3.4, but some 
+	are older. Note that all seem to be in gtksettings.c now instead
+	of across various files.
+
+2012-03-26  Murray Cumming  <murrayc murrayc com>
+
 	ScrolledWindow: Wrapped some new methods and a property.
 
 	* gtk/src/scrolledwindow.hg: Added get/set_kinetic_scrolling()
diff --git a/gtk/src/settings.hg b/gtk/src/settings.hg
index b3e6d1f..df1c626 100644
--- a/gtk/src/settings.hg
+++ b/gtk/src/settings.hg
@@ -29,6 +29,10 @@ _PINCLUDE(glibmm/private/object_p.h)
 namespace Gtk
 {
 
+_WRAP_ENUM(IMPreeditStyle, GtkIMPreeditStyle)
+_WRAP_ENUM(IMStatusStyle, GtkIMStatusStyle)
+
+
 /** Sharing settings between applications.
  *
  */
@@ -49,6 +53,7 @@ public:
   _WRAP_PROPERTY("gtk-double-click-distance", int)
   _WRAP_PROPERTY("gtk-cursor-blink", bool)
   _WRAP_PROPERTY("gtk-cursor-blink-time", int)
+  _WRAP_PROPERTY("gtk-cursor-blink-timeout", int) //since 3.4
   _WRAP_PROPERTY("gtk-split-cursor", bool)
   _WRAP_PROPERTY("gtk-theme-name", Glib::ustring)
   _WRAP_PROPERTY("gtk-key-theme-name", Glib::ustring)
@@ -98,26 +103,33 @@ public:
   _WRAP_PROPERTY("gtk-application-prefer-dark-theme", bool)  // since 2.22
   _WRAP_PROPERTY("gtk-auto-mnemonics", bool)            // since 2.20
   _WRAP_PROPERTY("gtk-visible-focus", Gtk::PolicyType)  // since 3.2
+  _WRAP_PROPERTY("gtk-im-preedit-style", IMPreeditStyle) //since 3.4
+  _WRAP_PROPERTY("gtk-im-status-style", IMStatusStyle) //since 3.4
+  _WRAP_PROPERTY("gtk-shell-shows-app-menu", bool) //since 3.4
+  _WRAP_PROPERTY("gtk-shell-shows-menubar", bool) //since 3.4
+
+  _WRAP_PROPERTY("gtk-menu-popup-delay", int) //since 3.4
+  _WRAP_PROPERTY("gtk-menu-popdown-delay", int) //since 3.4
+  _WRAP_PROPERTY("gtk-label-select-on-focus", bool) //since 3.4
+  _WRAP_PROPERTY("gtk-entry-password-hint-timeout", guint) //since 3.4
+  _WRAP_PROPERTY("gtk-menu-images", bool) //since 3.4
+  _WRAP_PROPERTY("gtk-menu-bar-popup-delay", int) //since 3.4
+  _WRAP_PROPERTY("gtk-scrolled-window-placement", GtkCornerType) //since 3.4
   //TODO: Add others added since?
 
-  // from GtkToolbar
   _WRAP_PROPERTY("gtk-toolbar-style", ToolbarStyle)
   _WRAP_PROPERTY("gtk-toolbar-icon-size", IconSize)
 
-  // from GtkMenu
   _WRAP_PROPERTY("gtk-can-change-accels", bool)
 
-  // from GtkEntry
   _WRAP_PROPERTY("gtk-entry-select-on-focus", bool)
 
-  // from GtkColorSelection
   _WRAP_PROPERTY("gtk-color-palette", Glib::ustring)
 
-  // from GtkButton
   _WRAP_PROPERTY("gtk-button-images", bool)
 
-  // from GtkIconTheme
   _WRAP_PROPERTY("gtk-icon-theme-name", Glib::ustring)
+  _WRAP_PROPERTY("gtk-fallback-icon-theme", Glib::ustring)
   _WRAP_PROPERTY("gtk-icon-sizes", Glib::ustring)
 
 



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