[gtksourceviewmm] Documented SourceStyle.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Documented SourceStyle.
- Date: Sun, 17 Jan 2010 18:30:29 +0000 (UTC)
commit aa1abc94588b49da283653a9004f114c72dea326
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Jan 17 19:22:34 2010 +0100
Documented SourceStyle.
* gtksourceview/src/sourcestyle.hg: Documented.
gtksourceview/src/sourcestyle.hg | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/src/sourcestyle.hg b/gtksourceview/src/sourcestyle.hg
index 98cd29b..063ec1d 100644
--- a/gtksourceview/src/sourcestyle.hg
+++ b/gtksourceview/src/sourcestyle.hg
@@ -26,12 +26,20 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace gtksourceview
{
+/** Class representing a style.
+ */
class SourceStyle : public Glib::Object
{
_CLASS_GOBJECT(SourceStyle, GtkSourceStyle, GTK_SOURCE_STYLE, Glib::Object, GObject)
public:
-
+ /** Creates a copy of a style, that is a new SourceStyle instance which has
+ * the same attributes set.
+ *
+ * @return Copy of a style.
+ *
+ * @newin{2,2}
+ */
_WRAP_METHOD(Glib::RefPtr<SourceStyle> copy() const, gtk_source_style_copy)
_WRAP_PROPERTY("background", Glib::ustring)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]