[gtkmm] CellArea: Added get_focus_siblings().



commit 41b8f070b921b5ae5336da05fc8d60638ed91926
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jul 25 12:49:07 2011 +0200

    CellArea: Added get_focus_siblings().
    
    * gtk/src/cellarea.hg: Wrap gtk_cell_area_get_focus_siblings().

 ChangeLog           |    6 ++++++
 gtk/src/cellarea.hg |    8 +++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9bdc65f..daa0230 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-25  Murray Cumming  <murrayc murrayc com>
+
+	CellArea: Added get_focus_siblings().
+
+	* gtk/src/cellarea.hg: Wrap gtk_cell_area_get_focus_siblings().
+
 2011-07-21  Murray Cumming  <murrayc murrayc com>
 
 	Add some new methods and properties.
diff --git a/gtk/src/cellarea.hg b/gtk/src/cellarea.hg
index 3c0b8ed..2296b52 100644
--- a/gtk/src/cellarea.hg
+++ b/gtk/src/cellarea.hg
@@ -150,7 +150,13 @@ public:
   _WRAP_METHOD(void add_focus_sibling(CellRenderer& renderer, CellRenderer& sibling), gtk_cell_area_add_focus_sibling)
   _WRAP_METHOD(void remove_focus_sibling( CellRenderer& renderer, CellRenderer& sibling), gtk_cell_area_remove_focus_sibling)
   _WRAP_METHOD(bool is_focus_sibling(CellRenderer& renderer,  CellRenderer& sibling), gtk_cell_area_is_focus_sibling)
-  //TODO: _WRAP_METHOD(GList* get_focus_siblings(CellRenderer& renderer), gtk_cell_area_get_focus_siblings)
+  
+
+#m4 _CONVERSION(`const GList*',`std::vector<CellRenderer*>',`Glib::ListHandler<CellRenderer*>::list_to_vector(const_cast<GList*>($3), Glib::OWNERSHIP_NONE)')  
+  _WRAP_METHOD(std::vector<CellRenderer*> get_focus_siblings(CellRenderer& renderer), gtk_cell_area_get_focus_siblings)
+  
+#m4 _CONVERSION(`const GList*',`std::vector<const CellRenderer*>',`Glib::ListHandler<const CellRenderer*>::list_to_vector(const_cast<GList*>($3), Glib::OWNERSHIP_NONE)')  
+  _WRAP_METHOD(std::vector<const CellRenderer*> get_focus_siblings(const CellRenderer& renderer) const, gtk_cell_area_get_focus_siblings)
 
   _WRAP_METHOD(CellRenderer* get_focus_from_sibling(CellRenderer& renderer), gtk_cell_area_get_focus_from_sibling)
   _WRAP_METHOD(const CellRenderer* get_focus_from_sibling(CellRenderer& renderer) const, gtk_cell_area_get_focus_from_sibling, constversion)



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