Method

IdeTweaksadd_callback

Declaration

void
ide_tweaks_add_callback (
  IdeTweaks* self,
  const char* name,
  GCallback callback
)

Description

Adds callback to the scope used when expanding future templates from self.

Parameters

name

Type: const char*

The name of the callback.

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

Type: GCallback

The callback represented by name.