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



commit 2bd0897eea64a584dc6c8d6c505f1c1b7b182b68
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Sep 25 22:53:49 2010 +0200

    tkmm: Added yet more missing properties.
    
    * gtk/src/menubar.hg: Added pack_direction and child_pack_direction
    properties, with a new PackDirection enum.
    * gtk/src/notebook.hg: Added group_id and group properties.
    * gtk/src/printer.hg: Added paused and accepting_jobs properties.
    * gtk/src/printjob.hg: Added track_print_status property.
    * gtk/src/printoperation.hg: Added track_print_status property.
    * gtk/src/progressbar.hg: Added adjustment, bar_stye, activity_step,
    activity_blocks and discrete_blocks properties.
    * gtk/src/ruler.hg: Added metric property.

 ChangeLog                    |   14 ++++++++++++++
 gtk/src/menubar.hg           |    5 +++++
 gtk/src/notebook.hg          |    2 ++
 gtk/src/printer.hg           |    2 ++
 gtk/src/printjob.hg          |    1 +
 gtk/src/printoperation.hg    |    1 +
 gtk/src/progressbar.hg       |    5 +++++
 gtk/src/radioaction.hg       |    1 +
 gtk/src/radiobutton.hg       |    2 ++
 gtk/src/radiomenuitem.hg     |    2 ++
 gtk/src/radiotoolbutton.hg   |    2 ++
 gtk/src/recentchoosermenu.hg |    2 ++
 gtk/src/ruler.hg             |    1 +
 13 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 830eb9a..0c3d6fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2010-09-25  Murray Cumming  <murrayc murrayc com>
 
+	gtkmm: Added yet more missing properties.
+
+	* gtk/src/menubar.hg: Added pack_direction and child_pack_direction 
+	properties, with a new PackDirection enum.
+	* gtk/src/notebook.hg: Added group_id and group properties.
+	* gtk/src/printer.hg: Added paused and accepting_jobs properties.
+	* gtk/src/printjob.hg: Added track_print_status property.
+	* gtk/src/printoperation.hg: Added track_print_status property.
+	* gtk/src/progressbar.hg: Added adjustment, bar_stye, activity_step, 
+	activity_blocks and discrete_blocks properties.
+	* gtk/src/ruler.hg: Added metric property.
+
+2010-09-25  Murray Cumming  <murrayc murrayc com>
+
 	gtkmm: Added missing properties.
 
 	* tools/extra_defs_gen/generate_defs_gtk.cc: Added GtkComboBoxEntry and 
diff --git a/gtk/src/menubar.hg b/gtk/src/menubar.hg
index 438046c..4aa7012 100644
--- a/gtk/src/menubar.hg
+++ b/gtk/src/menubar.hg
@@ -29,6 +29,8 @@ _PINCLUDE(gtkmm/private/menushell_p.h)
 namespace Gtk
 {
 
+_WRAP_ENUM(PackDirection, GtkPackDirection)
+
 /** A standard menu bar which usually holds Gtk::Menu submenu items.
  * The useful methods are in the base class - Gtk::MenuShell.
  *
@@ -46,6 +48,9 @@ public:
   MenuBar();
 
   // append, prepend and insert are defined in menushell
+  
+  _WRAP_PROPERTY("pack-direction", PackDirection)
+  _WRAP_PROPERTY("child-pack-direction", PackDirection)
 
 private:
   void init_accels_handler_(void);
diff --git a/gtk/src/notebook.hg b/gtk/src/notebook.hg
index 7dc43c7..a9c33ad 100644
--- a/gtk/src/notebook.hg
+++ b/gtk/src/notebook.hg
@@ -479,6 +479,8 @@ _DEPRECATE_IFDEF_END
   _WRAP_PROPERTY("page", int)
   _WRAP_PROPERTY("enable-popup", bool)
   _WRAP_PROPERTY("homogeneous", bool)
+  _WRAP_PROPERTY("group-id", int)
+  _WRAP_PROPERTY("group", void*) //TODO: What is this?
 
 protected:
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
diff --git a/gtk/src/printer.hg b/gtk/src/printer.hg
index 18a85d7..b09a7a6 100644
--- a/gtk/src/printer.hg
+++ b/gtk/src/printer.hg
@@ -100,6 +100,8 @@ public:
   _WRAP_PROPERTY("job_count", int)
   _WRAP_PROPERTY("accepts-pdf", bool)
   _WRAP_PROPERTY("accepts-ps", bool)
+  _WRAP_PROPERTY("paused", bool)
+  _WRAP_PROPERTY("accepting-jobs", bool)
 };
 
 /** @relates Gtk::Printer */
diff --git a/gtk/src/printjob.hg b/gtk/src/printjob.hg
index 82b2235..50c52aa 100644
--- a/gtk/src/printjob.hg
+++ b/gtk/src/printjob.hg
@@ -90,6 +90,7 @@ public:
   _WRAP_PROPERTY("printer", Glib::RefPtr<Printer>)
   _WRAP_PROPERTY("settings", Glib::RefPtr<PrintSettings>)
   _WRAP_PROPERTY("page_setup", Glib::RefPtr<PageSetup>)
+  _WRAP_PROPERTY("track-print-status", bool)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/printoperation.hg b/gtk/src/printoperation.hg
index 0965125..0ac49f7 100644
--- a/gtk/src/printoperation.hg
+++ b/gtk/src/printoperation.hg
@@ -153,6 +153,7 @@ public:
   _WRAP_PROPERTY("n_pages", int)
   _WRAP_PROPERTY("current_page", int)
   _WRAP_PROPERTY("use_full_page", bool)
+  _WRAP_PROPERTY("track-print-status", bool)
   _WRAP_PROPERTY("unit", Unit)
   _WRAP_PROPERTY("show_progress", bool)
   _WRAP_PROPERTY("allow_async", bool)
diff --git a/gtk/src/progressbar.hg b/gtk/src/progressbar.hg
index b0a97cf..a3680a5 100644
--- a/gtk/src/progressbar.hg
+++ b/gtk/src/progressbar.hg
@@ -88,9 +88,14 @@ public:
   _WRAP_METHOD(void set_ellipsize(Pango::EllipsizeMode mode), gtk_progress_bar_set_ellipsize)
   _WRAP_METHOD(Pango::EllipsizeMode get_ellipsize() const, gtk_progress_bar_get_ellipsize)
 
+  _WRAP_PROPERTY("adjustment", Adjustment*)
   _WRAP_PROPERTY("fraction", double)
   _WRAP_PROPERTY("pulse-step", double)
   _WRAP_PROPERTY("orientation", ProgressBarOrientation)
+  _WRAP_PROPERTY("bar-style", ProgressBarStyle)
+  _WRAP_PROPERTY("activity-step", guint)
+  _WRAP_PROPERTY("activity-blocks", guint)
+  _WRAP_PROPERTY("discrete-blocks", guint)
   _WRAP_PROPERTY("text", Glib::ustring)
   _WRAP_PROPERTY("ellipsize", bool)
 };
diff --git a/gtk/src/radioaction.hg b/gtk/src/radioaction.hg
index 6defc94..a3fcd6b 100644
--- a/gtk/src/radioaction.hg
+++ b/gtk/src/radioaction.hg
@@ -132,6 +132,7 @@ public:
   _WRAP_SIGNAL(void changed(const Glib::RefPtr<RadioAction>& current), changed)
 
   _WRAP_PROPERTY("value", int)
+  //Probably wouldn't work: _WRAP_PROPERTY("group", Group)
   _WRAP_PROPERTY("current-value", int)
 };
 
diff --git a/gtk/src/radiobutton.hg b/gtk/src/radiobutton.hg
index 0217ee2..ca64a94 100644
--- a/gtk/src/radiobutton.hg
+++ b/gtk/src/radiobutton.hg
@@ -84,6 +84,8 @@ public:
   _IGNORE(gtk_radio_button_set_group)
 
   _WRAP_SIGNAL(void group_changed(), "group_changed")
+  
+  //Probably wouldn't work: _WRAP_PROPERTY("group", Group)
 };
 
 } /* namespace Gtk */
diff --git a/gtk/src/radiomenuitem.hg b/gtk/src/radiomenuitem.hg
index ad963e3..0a3a1ce 100644
--- a/gtk/src/radiomenuitem.hg
+++ b/gtk/src/radiomenuitem.hg
@@ -63,6 +63,8 @@ public:
    */
   _WRAP_SIGNAL(void group_changed(), "group_changed")
 
+  //Probably wouldn't work: _WRAP_PROPERTY("group", Group)
+
 protected:
   void constructor(const Group& group);
 };
diff --git a/gtk/src/radiotoolbutton.hg b/gtk/src/radiotoolbutton.hg
index 6fd4893..9a4a7ca 100644
--- a/gtk/src/radiotoolbutton.hg
+++ b/gtk/src/radiotoolbutton.hg
@@ -101,6 +101,8 @@ public:
   
   _WRAP_METHOD(Group get_group(), gtk_radio_tool_button_get_group)
   _WRAP_METHOD(void set_group(Group& group), gtk_radio_tool_button_set_group)
+  
+  //Probably wouldn't work: _WRAP_PROPERTY("group", Group)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/recentchoosermenu.hg b/gtk/src/recentchoosermenu.hg
index 3f59bfa..188afec 100644
--- a/gtk/src/recentchoosermenu.hg
+++ b/gtk/src/recentchoosermenu.hg
@@ -52,6 +52,8 @@ public:
 
   _WRAP_METHOD(void set_show_numbers(bool show_numbers = true), gtk_recent_chooser_menu_set_show_numbers)
   _WRAP_METHOD(bool get_show_numbers() const, gtk_recent_chooser_menu_get_show_numbers)
+  
+  _WRAP_PROPERTY("show-numbers", bool)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/ruler.hg b/gtk/src/ruler.hg
index cbfcc8e..678ed52 100644
--- a/gtk/src/ruler.hg
+++ b/gtk/src/ruler.hg
@@ -99,6 +99,7 @@ _DEPRECATE_IFDEF_END
   _WRAP_PROPERTY("upper", double)
   _WRAP_PROPERTY("position", double)
   _WRAP_PROPERTY("max-size", double)
+  _WRAP_PROPERTY("metric", MetricType)
 };
 
 



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