X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/8445442abc02fc325a9ce228759403113583818c..4f931a71edce4d7456c233487703a894410fd599:/doc/gob2.1.in diff --git a/doc/gob2.1.in b/doc/gob2.1.in index f392384..9037aa2 100644 --- a/doc/gob2.1.in +++ b/doc/gob2.1.in @@ -238,6 +238,17 @@ For example: To make an abstract class (to pass G_TYPE_FLAG_ABSTRACT) add \'(abstract)\' before the curly braces above. This works since version 2.0.13. +.PP +To make a simple dynamic class which can be registered with a GTypeModule, +add \`(dynamic)\' to the class header. +This will cause a type registration method to be defined, which you would +normally call from the load method of a GTypeModule. +In the above example, the registration function will look like +.nf + + void gtk_new_button_register_type(GTypeModule *type_module) + +.fi .SH DATA MEMBERS .PP There are five types of data members. Three of them are normal data members,