[gtkmm] Deprecate Gtk::Arrow because GtkArrow is deprecated.



commit c17c6f265c79e185264635066b4ed7f3016ffb46
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed May 14 11:03:10 2014 +0200

    Deprecate Gtk::Arrow because GtkArrow is deprecated.

 gtk/src/arrow.hg |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/arrow.hg b/gtk/src/arrow.hg
index 3145fd1..24be5a7 100644
--- a/gtk/src/arrow.hg
+++ b/gtk/src/arrow.hg
@@ -38,9 +38,18 @@ namespace Gtk
  * @image html arrow1.png
  *
  * @ingroup Widgets
+ * @deprecated You should instead use a Gtk::Image with a
+ * suitable icon name, such as “pan-down-symbolic“. When replacing 
+ * Gtk::Arrow by an image, pay attention to the fact that GtkArrow automatically
+ * flips between #GTK_ARROW_LEFT and #GTK_ARROW_RIGHT,
+ * depending on the text direction. To get the same effect with an image,
+ * use the icon names “pan-start-symbolic“ and “pan-end-symbolic“, which
+ * react to the text direction instead of “pan-left-symbolic“ and
+ * “pan-right-symbolic“ which don't.
  */
 class Arrow : public Misc {
   _CLASS_GTKOBJECT(Arrow,GtkArrow,GTK_ARROW,Gtk::Misc,GtkMisc)
+  _IS_DEPRECATED
 public:
 
 


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