Method

IdeWorkbenchget_workspace_by_type

Declaration

IdeWorkspace*
ide_workbench_get_workspace_by_type (
  IdeWorkbench* self,
  GType type
)

Description

Gets the most-recently-used workspace that matches type.

Parameters

type

Type: GType

A GType of a subclass of IdeWorkspace.

Return value

Type: IdeWorkspace

An IdeWorkspace or NULL.

The data is owned by the instance.
The return value can be NULL.