(gtype)
return pointer
Make a new GObject pointer from a gtype.

        This is useful for subclasses which need to control the construction
        process.

        You can pass the result pointer to the Python constructor for the
        object you are building. You will need to call VipsObject.build() to
        finish construction.

        Returns:
            A pointer to a new GObject.

        Raises:
            :class:`.Error`
Make a new GObject pointer from a gtype.
Make a new GObject pointer from a gtype .
def new_pointer_from_gtype(gtype):
        """Make a new GObject pointer from a gtype.

        This is useful for subclasses which need to control the construction
        process.

        You can pass the result pointer to the Python constructor for the
        object you are building. You will need to call VipsObject.build() to
        finish construction.

        Returns:
            A pointer to a new GObject.

        Raises:
            :class:`.Error`

        """

        pointer = gobject_lib.g_object_new(gtype, ffi.NULL)
        if pointer == ffi.NULL:
            raise Error("can't create {0}".format(type_name(gtype)))

        return pointer
def new_pointer_from_gtype ( gtype ) : pointer = gobject_lib . g_object_new ( gtype , ffi . NULL ) if pointer == ffi . NULL : raise Error ( "can't create {0}" . format ( type_name ( gtype ) ) ) return pointer