Method

GObjectSignalGroupconnect_data

since: 2.72

Declaration

void
g_signal_group_connect_data (
  GSignalGroup* self,
  const gchar* detailed_signal,
  GCallback c_handler,
  gpointer data,
  GClosureNotify notify,
  GConnectFlags flags
)

Description

Connects c_handler to the signal detailed_signal on the target instance of self.

You cannot connect a signal handler after GSignalGroup:target has been set.

Available since: 2.72

Parameters

detailed_signal

Type: const gchar*

A string of the form “signal-name::detail”

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

Type: GCallback

The GCallback to connect.

data

Type: gpointer

The data to pass to c_handler calls.

The argument can be NULL.
The data is owned by the caller of the function.
notify

Type: GClosureNotify

Function to be called when disposing of self.

flags

Type: GConnectFlags

The flags used to create the signal connection.