Method

IdeWorkbenchaddin_find_by_module_name

Declaration

IdeWorkbenchAddin*
ide_workbench_addin_find_by_module_name (
  IdeWorkbench* workbench,
  const gchar* module_name
)

Description

Finds the addin (if any) matching the plugin’s module_name.

Available since:3.32

Parameters

module_name const gchar*
 

The name of the addin module.

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

Return value

Returns: IdeWorkbenchAddin
 

An IdeWorkbenchAddin or NULL.

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