Virtual Method

IdeWorkspaceAddincan_close

since: 3.34

Declaration

gboolean
can_close (
  IdeWorkspaceAddin* self
)

Description

This method is called to determine if the workspace can close. If the addin needs to prevent the workspace closing, then return FALSE; otherwise TRUE.

Available since: 3.34

Return value

Type: gboolean

TRUE if the workspace can close; otherwise FALSE.