]> git.draconx.ca Git - gob-dx.git/blobdiff - doc/gob2.1.in
Release 2.0.1
[gob-dx.git] / doc / gob2.1.in
index c51e7e663fcb97849ce784c6e339edafeeadbe09..4af57f130029e931b11bfb5227d309d1c43f528f 100644 (file)
@@ -408,11 +408,13 @@ of them.
 All property types have a 'nick' and a 'blurb' attribute and you should
 set those accordingly.  This will make runtime querying the object
 nicer as things such as gui editors and class browsers can be more
-verbose about the class itself.  Almost all types also have a
-'default_value'
-attribute which sets the initial value of this property (on object
-initialization, the set handler will be run automatically with this
-value).  
+verbose about the class itself.  You can use the '_("string")' notation
+instead of just "string", and that will mark the string for translation.
+.PP
+Almost all types also have a 'default_value' attribute which sets the initial
+value of this property (on object initialization, the set handler will be run
+automatically with this value).  This value will be overriden if the user 
+sets a value of this property on the call to g_object_new.
 .PP
 All the numeric types (including CHAR) have 'minimum' and 'maximum'
 attributes which can restrict the range.  If you do not specify these
@@ -441,7 +443,7 @@ There is a BOXED type which is a pointer which has a boxed type defined
 you will need to specify the 'boxed_type' attribute with the specific
 type of the boxed pointer.
 .PP
-There is also a POINTER type, which has only the nick and blurb
+There is also a POINTER type, which has only the 'nick' and 'blurb'
 attributes.  This is for storing arbitrary pointers.  You should be
 careful with this one, as GObject knows nothing about the data
 stored at this pointer.  It is somewhat like a 'void *' type.