Method

CogViewget_viewport

Declaration [src]

CogViewport*
cog_view_get_viewport (
  CogView* self
)

Description [src]

Gets viewport where the view is attached.

Available since:0.20
Gets propertyCog.View:viewport

Return value

Returns: CogViewport
 

The viewport what the view belongs.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.