[gtkmm/gtkmm-2-22] gtkmm: Added some more missing properties.



commit a5d97aff9330a14529acb9c00381842bc0933404
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 24 23:48:31 2010 +0200

    gtkmm: Added some more missing properties.
    
    * gtk/src/cellrenderer.hg: Added editing property.
    * gtk/src/cellrendereraccel.hg: Added accel-mode property.
    * gtk/src/cellrenderertoggle.hg: Added inconsistent property.
    * gtk/src/progressbar.hg: Moved the ProgressBarOrientation enum to enums.hg.
    * gtk/src/cellrendererprogress.hg: Added orientation property.

 ChangeLog                       |   10 ++++++++++
 gtk/src/cellrenderer.hg         |    1 +
 gtk/src/cellrendereraccel.hg    |    3 +++
 gtk/src/cellrendererprogress.hg |    3 ++-
 gtk/src/cellrenderertoggle.hg   |    1 +
 gtk/src/enums.hg                |    1 +
 gtk/src/progressbar.hg          |    2 --
 7 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bbf6ee6..6bae763 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2010-09-24  Murray Cumming  <murrayc murrayc com>
 
+	gtkmm: Added some more missing properties.
+
+	* gtk/src/cellrenderer.hg: Added editing property.
+	* gtk/src/cellrendereraccel.hg: Added accel-mode property.
+	* gtk/src/cellrenderertoggle.hg: Added inconsistent property.
+	* gtk/src/progressbar.hg: Moved the ProgressBarOrientation enum to enums.hg.
+	* gtk/src/cellrendererprogress.hg: Added orientation property.
+	
+2010-09-24  Murray Cumming  <murrayc murrayc com>
+
 	CellEditable: Added editing_canceled property.
 
 	* tools/extra_defs_gen/generate_defs_gtk.cc: Added GtkCellEditable.
diff --git a/gtk/src/cellrenderer.hg b/gtk/src/cellrenderer.hg
index dd38aaa..f4987b2 100644
--- a/gtk/src/cellrenderer.hg
+++ b/gtk/src/cellrenderer.hg
@@ -160,6 +160,7 @@ public:
   _WRAP_PROPERTY("cell-background", Glib::ustring)
   _WRAP_PROPERTY("cell-background-gdk", Gdk::Color)
   _WRAP_PROPERTY("cell-background-set", bool)
+  _WRAP_PROPERTY("editing", bool)
 
 protected:
   _CTOR_DEFAULT()
diff --git a/gtk/src/cellrendereraccel.hg b/gtk/src/cellrendereraccel.hg
index ab83228..076e235 100644
--- a/gtk/src/cellrendereraccel.hg
+++ b/gtk/src/cellrendereraccel.hg
@@ -29,6 +29,8 @@ _PINCLUDE(gtkmm/private/cellrenderertext_p.h)
 namespace Gtk
 {
 
+_WRAP_ENUM(CellRendererAccelMode, GtkCellRendererAccelMode)
+
 /**  .
  * Renders a keyboard accelerator in a cell
  *
@@ -56,6 +58,7 @@ public:
   _WRAP_PROPERTY("accel-key", guint)
   _WRAP_PROPERTY("accel-mods", Gdk::ModifierType)
   _WRAP_PROPERTY("keycode", guint)
+  _WRAP_PROPERTY("accel-mode", CellRendererAccelMode)
 
   virtual Glib::PropertyProxy_Base _property_renderable(); //override
 };
diff --git a/gtk/src/cellrendererprogress.hg b/gtk/src/cellrendererprogress.hg
index 2d02b6d..fafd3f1 100644
--- a/gtk/src/cellrendererprogress.hg
+++ b/gtk/src/cellrendererprogress.hg
@@ -41,7 +41,8 @@ public:
   _WRAP_PROPERTY("pulse", int)
   _WRAP_PROPERTY("text-xalign", float)
   _WRAP_PROPERTY("text-yalign", float)
-
+  _WRAP_PROPERTY("orientation", ProgressBarOrientation)
+  
   virtual Glib::PropertyProxy_Base _property_renderable();
 };
 
diff --git a/gtk/src/cellrenderertoggle.hg b/gtk/src/cellrenderertoggle.hg
index 5c8ace4..026f505 100644
--- a/gtk/src/cellrenderertoggle.hg
+++ b/gtk/src/cellrenderertoggle.hg
@@ -59,6 +59,7 @@ public:
 
   _WRAP_PROPERTY("activatable", bool)
   _WRAP_PROPERTY("active", bool)
+  _WRAP_PROPERTY("inconsistent", bool)
   _WRAP_PROPERTY("radio", bool)
   _WRAP_PROPERTY("indicator-size", int)
 
diff --git a/gtk/src/enums.hg b/gtk/src/enums.hg
index 94dcfe8..66c3696 100644
--- a/gtk/src/enums.hg
+++ b/gtk/src/enums.hg
@@ -84,6 +84,7 @@ _WRAP_ENUM(PackType, GtkPackType)
 _WRAP_ENUM(PathPriorityType, GtkPathPriorityType)
 _WRAP_ENUM(PathType, GtkPathType)
 _WRAP_ENUM(PolicyType, GtkPolicyType)
+_WRAP_ENUM(ProgressBarOrientation, GtkProgressBarOrientation)
 _WRAP_ENUM(PositionType, GtkPositionType)
 _WRAP_ENUM(ReliefStyle, GtkReliefStyle)
 _WRAP_ENUM(ResizeMode, GtkResizeMode)
diff --git a/gtk/src/progressbar.hg b/gtk/src/progressbar.hg
index 656db8f..b0a97cf 100644
--- a/gtk/src/progressbar.hg
+++ b/gtk/src/progressbar.hg
@@ -31,8 +31,6 @@ namespace Gtk
 
 _CC_INCLUDE(gtk/gtk.h)
 _WRAP_ENUM(ProgressBarStyle, GtkProgressBarStyle)
-_WRAP_ENUM(ProgressBarOrientation, GtkProgressBarOrientation)
-
 
 /** A widget which indicates progress visually.
  *



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