GObject Constructor

GObject ([ <paramdef>string gtype</paramdef> <paramdef>array properties</paramdef> ]);

Creates a new instance of Gobject, or optionally of type gtype. The properties parameter should contain an associative array of Gobject properties to set for the new instance.