From 00df069cdf55e115ea734119c0ba97b78192cfcc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Dec 2011 01:16:44 +0000 Subject: Improve documentation and GIR bindings. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3841 a436a847-0d15-0410-975c-d299462d15a1 --- src/Canvas.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/Canvas.cpp') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 692f3ee..f81c269 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -1824,8 +1824,8 @@ ganv_canvas_class_init(GanvCanvasClass* klass) g_object_class_install_property( gobject_class, PROP_WIDTH, g_param_spec_double( "width", - _("width"), - _("width of the canvas"), + _("Width"), + _("The width of the canvas."), 0.0, G_MAXDOUBLE, 800.0, (GParamFlags)G_PARAM_READWRITE)); @@ -1833,8 +1833,8 @@ ganv_canvas_class_init(GanvCanvasClass* klass) g_object_class_install_property( gobject_class, PROP_HEIGHT, g_param_spec_double( "height", - _("height"), - _("height of the canvas"), + _("Height"), + _("The height of the canvas"), 0.0, G_MAXDOUBLE, 600.0, (GParamFlags)G_PARAM_READWRITE)); @@ -1851,8 +1851,8 @@ ganv_canvas_class_init(GanvCanvasClass* klass) g_object_class_install_property( gobject_class, PROP_DIRECTION, g_param_spec_enum( "direction", - _("direction"), - _("direction of the signal flow on the canvas"), + _("Direction"), + _("The direction of the signal flow on the canvas."), dir_type, GANV_DIRECTION_RIGHT, (GParamFlags)G_PARAM_READWRITE)); @@ -1860,8 +1860,8 @@ ganv_canvas_class_init(GanvCanvasClass* klass) g_object_class_install_property( gobject_class, PROP_LOCKED, g_param_spec_boolean( "locked", - _("locked"), - _("whether canvas items are movable"), + _("Locked"), + _("If true, nodes on the canvas can not be moved by the user."), FALSE, (GParamFlags)G_PARAM_READWRITE)); -- cgit v1.2.1