[gtkmm] Gtk::CellArea: Add signal_apply_attributes()



commit d57fc182b4ae1729bc833996b4f111ee3a40395c
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Wed Jan 8 16:00:12 2014 +0100

    Gtk::CellArea: Add signal_apply_attributes()
    
    * gtk/src/cellarea.hg: Add signal_apply_attributes(). Markup the section
    titles in the class docs.

 gtk/src/cellarea.hg |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/cellarea.hg b/gtk/src/cellarea.hg
index 654f547..9daab16 100644
--- a/gtk/src/cellarea.hg
+++ b/gtk/src/cellarea.hg
@@ -27,7 +27,6 @@ namespace Gtk
 {
 
 //TODO: This documentation omits the examples from the C documentation. We should translate them to C++.
-//TODO: Find a way to markup the section titles in this doxygen comment.
 /** An abstract base class for laying out CellRenderers.
  *
  * This is an abstract base class for CellLayout widgets
@@ -41,7 +40,7 @@ namespace Gtk
  * Usually users dont have to interact with the CellArea directly
  * unless they are implementing a cell layouting widget themselves.
  *
- * Requesting area sizes
+ * <h2>Requesting area sizes</h2>
  *
  * As outlined in Gtk::Widget's
  * geometry management description, GTK+ uses a height-for-width
@@ -75,9 +74,9 @@ namespace Gtk
  * was used to request the sizes for a given TreeModel row be
  * used when rendering or processing events for that row.
  *
- * Cell Properties
+ * <h2>Cell Properties</h2>
  *
- * The CellArea introduces cell propertie
+ * The CellArea introduces cell properties
  * for CellRenderers in very much the same way that Gtk::Container
  * introduces child properties
  * for Widgets. This provides some general interfaces for defining
@@ -224,9 +223,12 @@ public:
 
 protected:
   #m4 _CONVERSION(`GtkCellAreaContext*',`const Glib::RefPtr<CellAreaContext>&',`Glib::wrap($3, true)')
+#m4 _CONVERSION(`GtkTreeModel*',`const Glib::RefPtr<TreeModel>&',`Glib::wrap($3, true)')
+#m4 _CONVERSION(`GtkTreeIter*',`const TreeModel::iterator&',`Gtk::TreeModel::iterator(p0, $3)')
+  //TODO: Remove no_default_handler when we can break ABI:
+  _WRAP_SIGNAL(void apply_attributes(const Glib::RefPtr<TreeModel>& tree_model, const TreeModel::iterator& 
iter, bool is_expander, bool is_expanded), "apply-attributes", no_default_handler)
 
-  //TODO: convert the TreeModel. _WRAP_SIGNAL(void apply_attributes(const Glib::RefPtr<TreeModel>& 
tree_model, const TreeModel::iterator& iter, bool is_expander, bool is_expanded), "apply-attributes", 
no_default_handler)
-
+  // The add-editable, remove-editable and focus-changed signals can't have default handlers because the 
wrapped C signals have no default handlers.
 #m4 _CONVERSION(`GdkRectangle*',`const Gdk::Rectangle&',`Glib::wrap($3)')
   _WRAP_SIGNAL(void add_editable(CellRenderer* renderer, CellEditable* editable, const Gdk::Rectangle& 
cell_area, const Glib::ustring& path), "add-editable", no_default_handler)
 


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