diff options
author | Paolo Borelli <pborelli@gnome.org> | 2014-07-28 12:20:48 +0200 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2014-07-28 12:21:17 +0200 |
commit | 86ed2701636dcc951c393a6654afa0fdb5f02e53 (patch) | |
tree | 3dce279d0adfee821fcae55bbb9594c84add790a /gtk/gtktextmark.c | |
parent | 46a13d158200b422aa0ca8c682a062e289d9e6e3 (diff) | |
download | gtk+-86ed2701636dcc951c393a6654afa0fdb5f02e53.tar.gz |
textview: document text mark properties
Diffstat (limited to 'gtk/gtktextmark.c')
-rw-r--r-- | gtk/gtktextmark.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c index d79e5322b6..dc8f78c44f 100644 --- a/gtk/gtktextmark.c +++ b/gtk/gtktextmark.c @@ -125,6 +125,11 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass) object_class->set_property = gtk_text_mark_set_property; object_class->get_property = gtk_text_mark_get_property; + /** + * GtkTextMark:name: + * + * The name of the mark or %NULL if the mark is anonymous. + */ g_object_class_install_property (object_class, PROP_NAME, g_param_spec_string ("name", @@ -133,6 +138,13 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass) NULL, GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + /** + * GtkTextMark:left-gravity: + * + * Whether the mark has left gravity. When text is inserted at the mark’s + * current location, if the mark has left gravity it will be moved + * to the left of the newly-inserted text, otherwise to the right. + */ g_object_class_install_property (object_class, PROP_LEFT_GRAVITY, g_param_spec_boolean ("left-gravity", |