[gtkmm/gtkmm-2-22] gtkmm: MenuBar: Added remaining methods.



commit cf3bfc66f23c0a62e890d0dd7e0787667b9ae059
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Sep 26 10:52:58 2010 +0200

    gtkmm: MenuBar: Added remaining methods.
    
    * gtk/src/menubar.hg: Added set/get_pack_direction(),
    set/ get_child_pack_direction
    * tools/m4/convert_gtk.m4: Added guint32&->guint32* conversion.

 ChangeLog               |    8 ++++++++
 gtk/src/menubar.hg      |    5 +++++
 tools/m4/convert_gtk.m4 |    1 +
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d4b2d87..d4211eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-09-26  Murray Cumming  <murrayc murrayc com>
 
+	gtkmm: MenuBar: Added remaining methods.
+
+	* gtk/src/menubar.hg: Added set/get_pack_direction(), 
+	set/ get_child_pack_direction
+	* tools/m4/convert_gtk.m4: Added guint32&->guint32* conversion.
+
+2010-09-26  Murray Cumming  <murrayc murrayc com>
+
 	gdkmm: Visual: Added methods.
 
 	* gdk/src/visual.hg: Added get_visual_type(), get_depth(), get_byte_order(), 
diff --git a/gtk/src/menubar.hg b/gtk/src/menubar.hg
index 4aa7012..abaf7b9 100644
--- a/gtk/src/menubar.hg
+++ b/gtk/src/menubar.hg
@@ -47,6 +47,11 @@ class MenuBar : public MenuShell
 public:
   MenuBar();
 
+  _WRAP_METHOD(PackDirection get_pack_direction () const, gtk_menu_bar_get_pack_direction)
+  _WRAP_METHOD(void set_pack_direction(PackDirection pack_dir), gtk_menu_bar_set_pack_direction)
+  _WRAP_METHOD(PackDirection get_child_pack_direction() const, gtk_menu_bar_get_child_pack_direction)
+  _WRAP_METHOD(void set_child_pack_direction(PackDirection child_pack_dir), gtk_menu_bar_set_child_pack_direction)
+							
   // append, prepend and insert are defined in menushell
   
   _WRAP_PROPERTY("pack-direction", PackDirection)
diff --git a/tools/m4/convert_gtk.m4 b/tools/m4/convert_gtk.m4
index 6f801a0..3d3f7c0 100644
--- a/tools/m4/convert_gtk.m4
+++ b/tools/m4/convert_gtk.m4
@@ -87,6 +87,7 @@ _CONV_ENUM(Gtk,MovementStep)
 _CONV_ENUM(Gtk,NotebookTab)
 _CONV_ENUM(Gtk,Orientation)
 _CONV_ENUM(Gtk,PackType)
+_CONV_ENUM(Gtk,PackDirection)
 _CONV_ENUM(Gtk,PolicyType)
 _CONV_ENUM(Gtk,PositionType)
 _CONV_ENUM(Gtk,PreviewType)



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