[gtkmm] gtkmm: MenuBar: Added remaining methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gtkmm: MenuBar: Added remaining methods.
- Date: Sun, 26 Sep 2010 09:11:07 +0000 (UTC)
commit 09f7dcf9f191d626c1502c0e834aca057b84d343
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 0e94fa1..5b5d67f 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>
+
Adapt to gtk_menu_popup_for_device() API change.
* gtk/src/menu.ccg: popup(): Copy the slot and delete it in the new destroy
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 cbef7da..4db8222 100644
--- a/tools/m4/convert_gtk.m4
+++ b/tools/m4/convert_gtk.m4
@@ -89,6 +89,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]