[gtkmm] Wrap several missing methods in Gtk::Grid
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Wrap several missing methods in Gtk::Grid
- Date: Tue, 28 Feb 2012 09:20:10 +0000 (UTC)
commit db29297770af8e43b1b75f88b222cf3dc5a70f9d
Author: Mark Vender <markv743 yahoo co uk>
Date: Thu Feb 16 19:35:52 2012 +0200
Wrap several missing methods in Gtk::Grid
* gtk/src/grid.hg: Add get_child_at(), insert_row(),
insert_row(), insert_column(), insert_next_to().
Bug #670238
ChangeLog | 8 ++++++++
gtk/src/grid.hg | 6 ++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0a853be..e1efc17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-02-28 Mark Vender <markv743 yahoo co uk>
+
+ Wrap several missing methods in Gtk::Grid.
+
+ * gtk/src/grid.hg: Add get_child_at(), insert_row(),
+ insert_row(), insert_column(), insert_next_to().
+ Bug #670238
+
2012-02-28 Murray Cumming <murrayc murrayc com>
Widget: Add draw().
diff --git a/gtk/src/grid.hg b/gtk/src/grid.hg
index cc0eb78..7fcd74e 100644
--- a/gtk/src/grid.hg
+++ b/gtk/src/grid.hg
@@ -60,6 +60,12 @@ public:
_WRAP_METHOD(void attach(Widget& child, int left, int top, int width, int height), gtk_grid_attach)
_WRAP_METHOD(void attach_next_to(Widget& child, Widget& sibling, PositionType side, int width, int height), gtk_grid_attach_next_to)
+ _WRAP_METHOD(Widget* get_child_at(int left, int top), gtk_grid_get_child_at)
+ _WRAP_METHOD(const Widget* get_child_at(int left, int top) const, gtk_grid_get_child_at)
+ _WRAP_METHOD(void insert_row(int position), gtk_grid_insert_row)
+ _WRAP_METHOD(void insert_column(int position), gtk_grid_insert_column)
+ _WRAP_METHOD(void insert_next_to(Widget& sibling, PositionType side), gtk_grid_insert_next_to)
+
_WRAP_METHOD(void set_row_homogeneous(bool homogeneous = true), gtk_grid_set_row_homogeneous)
_WRAP_METHOD(bool get_row_homogeneous() const, gtk_grid_get_row_homogeneous)
_WRAP_METHOD(void set_row_spacing(guint spacing), gtk_grid_set_row_spacing)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]