X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/d52e64e92557f0b6d7704077ec175c88fa7ca243..8445442abc02fc325a9ce228759403113583818c:/doc/gob2.1.in diff --git a/doc/gob2.1.in b/doc/gob2.1.in index 31f7bfb..f392384 100644 --- a/doc/gob2.1.in +++ b/doc/gob2.1.in @@ -106,6 +106,9 @@ The directory into which output should be placed. .B \-\-file\-sep[=c] Replace default \'\-\' file name separator. If no separator character is given then none is used. Only one character can be used. +.TP +.B \-\-gtk3 +Use gtk3. .SH TYPENAMES .PP @@ -425,7 +428,9 @@ be synchronized with a private integer data member also of the name \'height\'. private int height; property INT height - (nick = _("Short nickname"), + ( + name = "height", + nick = _("Short nickname"), blurb = _("Long description"), minimum = 10, maximum = 200, @@ -440,7 +445,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. You can use the \'_("string")\' notation +verbose about the class itself. +.PP +The \'name\' property is canonical name of property. It is useful when you try to +implement properties with no C names like \'vertical-scroll\'. The \'name\' +property can be omitted. +.PP +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 @@ -782,6 +793,17 @@ or signal last NONE (NONE) void foo (self); +.fi +.PP +You can include name of signal, if this name is not a C variable name. Example: +.nf + + signal first INT "do-something" (POINTER, INT) + int do_something (self, Gtk:Widget *w (check null type), int length) + { + ... + } + .fi .PP If you don\'t want the wrapper that emits the signal to be public, you can