Constructor

CogViewnew

Declaration [src]

CogView*
cog_view_new (
  const char* first_property_name,
  ...
)

Description [src]

Creates a new instance of a view implementation and sets its properties.

This constructor is not directly available to language bindings

Parameters

first_property_name const char*
 

Name of the first property.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
...
 

Value of the first property, followed optionally by more name/value pairs, followed by NULL.

Return value

Returns: CogView
 

A new web view.

 The caller of the function takes ownership of the data, and is responsible for freeing it.