Function
GtkBuilderConnectFunc
since: 2.12
Declaration
void
(* GtkBuilderConnectFunc) (
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
-
Type:
GtkBuilder
A
GtkBuilder
.The data is owned by the caller of the function. object
-
Type:
GObject
Object to connect a signal to.
The data is owned by the caller of the function. signal_name
-
Type:
const gchar*
Name of the signal.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. handler_name
-
Type:
const gchar*
Name of the handler.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. connect_object
-
Type:
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
-
Type:
GConnectFlags
GConnectFlags
to use. user_data
-
Type:
gpointer
User data.
The argument can be NULL
.The data is owned by the caller of the function.