summaryrefslogtreecommitdiffstats
path: root/src/Canvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-09 01:16:44 +0000
committerDavid Robillard <d@drobilla.net>2011-12-09 01:16:44 +0000
commit00df069cdf55e115ea734119c0ba97b78192cfcc (patch)
tree6a44412744eca684f675d4d8e963bd1a763fdbe8 /src/Canvas.cpp
parent3b9f400868fc382a5f61db4eb7105be999049c7b (diff)
downloadganv-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/Canvas.cpp')
-rw-r--r--src/Canvas.cpp16
1 files changed, 8 insertions, 8 deletions
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));