diff options
author | David Robillard <d@drobilla.net> | 2011-12-09 01:16:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-09 01:16:44 +0000 |
commit | 00df069cdf55e115ea734119c0ba97b78192cfcc (patch) | |
tree | 6a44412744eca684f675d4d8e963bd1a763fdbe8 /src/text.c | |
parent | 3b9f400868fc382a5f61db4eb7105be999049c7b (diff) | |
download | ganv-00df069cdf55e115ea734119c0ba97b78192cfcc.tar.gz ganv-00df069cdf55e115ea734119c0ba97b78192cfcc.tar.bz2 ganv-00df069cdf55e115ea734119c0ba97b78192cfcc.zip |
Improve documentation and GIR bindings.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3841 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/text.c')
-rw-r--r-- | src/text.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -334,8 +334,8 @@ ganv_text_class_init(GanvTextClass* class) g_object_class_install_property( gobject_class, PROP_TEXT, g_param_spec_string( "text", - _("text"), - _("the text to display"), + _("Text"), + _("The string to display."), NULL, G_PARAM_READWRITE)); @@ -343,7 +343,7 @@ ganv_text_class_init(GanvTextClass* class) gobject_class, PROP_X, g_param_spec_double( "x", _("x"), - _("x coordinate"), + _("Top left x coordinate."), -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); @@ -352,7 +352,7 @@ ganv_text_class_init(GanvTextClass* class) gobject_class, PROP_Y, g_param_spec_double( "y", _("y"), - _("y coordinate"), + _("Top left y coordinate."), -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); @@ -360,8 +360,8 @@ ganv_text_class_init(GanvTextClass* class) g_object_class_install_property( gobject_class, PROP_WIDTH, g_param_spec_double( "width", - _("width"), - _("width"), + _("Width"), + _("The current width of the text."), -G_MAXDOUBLE, G_MAXDOUBLE, 1.0, G_PARAM_READWRITE)); @@ -369,8 +369,8 @@ ganv_text_class_init(GanvTextClass* class) g_object_class_install_property( gobject_class, PROP_HEIGHT, g_param_spec_double( "height", - _("height"), - _("height"), + _("Height"), + _("The current height of the text."), -G_MAXDOUBLE, G_MAXDOUBLE, 1.0, G_PARAM_READWRITE)); @@ -378,8 +378,8 @@ ganv_text_class_init(GanvTextClass* class) g_object_class_install_property( gobject_class, PROP_COLOR, g_param_spec_uint( "color", - _("color"), - _("the color of the text"), + _("Color"), + _("The color of the text."), 0, G_MAXUINT, DEFAULT_TEXT_COLOR, G_PARAM_READWRITE)); |