[gtkmm] Gtk::Border: Add reference documentation.



commit 551eaf265c7a56ecc013180a2cdb56b825cfbc7e
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Feb 13 09:51:45 2012 +0100

    Gtk::Border: Add reference documentation.
    
    * gtk/src/border.hg:
    Note that, for the C API, this is only listed on the GtkStyleContext page,
    with no way to directly link to its description:
    http://developer.gnome.org/gtk3/unstable/GtkStyleContext.html#gtk-border-new
    Bug #669907 (Mark)

 ChangeLog         |   10 ++++++++++
 gtk/src/border.hg |   22 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 531509a..8dde7a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-02-13  Murray Cumming  <murrayc murrayc com>
+
+	Gtk::Border: Add reference documentation. 
+
+	* gtk/src/border.hg:
+	Note that, for the C API, this is only listed on the GtkStyleContext page,
+	with no way to directly link to its description:
+	http://developer.gnome.org/gtk3/unstable/GtkStyleContext.html#gtk-border-new
+	Bug #669907 (Mark)
+
 2012-02-10  Murray Cumming  <murrayc murrayc com>
 
 	Application: Avoid the need to use Gtk::Main.
diff --git a/gtk/src/border.hg b/gtk/src/border.hg
index 741c0db..a7881c8 100644
--- a/gtk/src/border.hg
+++ b/gtk/src/border.hg
@@ -24,21 +24,43 @@ _DEFS(gtkmm,gtk)
 namespace Gtk
 {
 
+/** This specifies a border around a rectangular area that can be of a different width on each side. 
+ */
 class Border
 {
   _CLASS_BOXEDTYPE(Border, GtkBorder, gtk_border_new, gtk_border_copy, gtk_border_free)
 public:
 
+  /** Get the The width of the left border.
+   */
   _MEMBER_GET(left, left, int, gint)
+
+  /** Set the The width of the left border.
+   */
   _MEMBER_SET(left, left, int, gint)
 
+  /** Get the width of the right border.
+   */
   _MEMBER_GET(right, right, int, gint)
+
+  /** Set the width of the right border.
+   */
   _MEMBER_SET(right, right, int, gint)
 
+  /** Get the The width of the top border.
+   */
   _MEMBER_GET(top, top, int, gint)
+
+  /** Set the The width of the top border.
+   */
   _MEMBER_SET(top, top, int, gint)
 
+  /** Get the The width of the bottom border.
+   */
   _MEMBER_GET(bottom, bottom, int, gint)
+
+  /** Set the The width of the bottom border.
+   */
   _MEMBER_SET(bottom, bottom, int, gint)
 };
 



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