Method

IdeWorkbenchAddinref_action_group

Declaration

GActionGroup*
ide_workbench_addin_ref_action_group (
  IdeWorkbenchAddin* self
)

Description

Gets the action group for the addin.

If provided, the action group will be registered for the addin at “context.workbench.module-name” where “module-name” is replaced with the module-name of the plugin.

If self is a GActionGroup and self did not implement the IdeWorkbenchAddinInterface.ref_action_group vfunc, then self is returned with it’s reference count incremented.

Return value

Type: GActionGroup

A GActionGroup or NULL.

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