Function

GtkBuilderConnectFunc

Declaration

void
BuilderConnectFunc (
  GtkBuilder* builder,
  GObject* object,
  const gchar* signal_name,
  const gchar* handler_name,
  GObject* connect_object,
  GConnectFlags flags,
  gpointer user_data
)

Description [src]

This is the signature of a function used to connect signals. It is used by the gtk_builder_connect_signals() and gtk_builder_connect_signals_full() methods. It is mainly intended for interpreted language bindings, but could be useful where the programmer wants more control over the signal connection process. Note that this function can only be called once, subsequent calls will do nothing.

Available since:2.12

Parameters

builder GtkBuilder
 

A GtkBuilder.

 The data is owned by the caller of the function.
object GObject
 

Object to connect a signal to.

 The data is owned by the caller of the function.
signal_name const gchar*
 

Name of the signal.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
handler_name const gchar*
 

Name of the handler.

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

A GObject, if non-NULL, use g_signal_connect_object()

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

GConnectFlags to use.

user_data gpointer
 

User data.