Signals: GTK+ 2 Reference Manual

## Signals Signals |

## Functions

guint | gtk_signal_new ()
guint | gtk_signal_newv ()
#define | gtk_signal_lookup()
#define | gtk_signal_name()
void | gtk_signal_emit ()
void | gtk_signal_emit_by_name ()
void | gtk_signal_emitv ()
void | gtk_signal_emitv_by_name ()
#define | gtk_signal_emit_stop()
void | gtk_signal_emit_stop_by_name ()
#define | gtk_signal_connect()
#define | gtk_signal_connect_after()
#define | gtk_signal_connect_object()
#define | gtk_signal_connect_object_after()
gulong | gtk_signal_connect_full ()
void | gtk_signal_connect_while_alive ()
void | gtk_signal_connect_object_while_alive ()
#define | gtk_signal_disconnect()
#define | gtk_signal_disconnect_by_func()
#define | gtk_signal_disconnect_by_data()
#define | gtk_signal_handler_block()
#define | gtk_signal_handler_block_by_func()
#define | gtk_signal_handler_block_by_data()
#define | gtk_signal_handler_unblock()
#define | gtk_signal_handler_unblock_by_func()
#define | gtk_signal_handler_unblock_by_data()
#define | gtk_signal_handler_pending()
#define | gtk_signal_handler_pending_by_func()

## Types and Values

#define | GTK_SIGNAL_OFFSET
enum | GtkSignalRunType
#define | gtk_signal_default_marshaller

## Includes

    #include <gtk/gtk.h>

## Description

## Functions

### gtk_signal_new ()

    guint
    gtk_signal_new (const gchar *name,
                    GtkSignalRunType signal_flags,
                    GType object_type,
                    guint function_offset,
                    GSignalCMarshaller marshaller,
                    GType return_val,
                    guint n_args,
                    ...);

`gtk_signal_new` is deprecated and should not be used in newly-written code.

### gtk_signal_newv ()

    guint
    gtk_signal_newv (const gchar *name,
                     GtkSignalRunType signal_flags,
                     GType object_type,
                     guint function_offset,
                     GSignalCMarshaller marshaller,
                     GType return_val,
                     guint n_args,
                     GType *args);

`gtk_signal_newv` is deprecated and should not be used in newly-written code.

### gtk_signal_lookup()

    #define             gtk_signal_lookup(name,object_type)

`gtk_signal_lookup` is deprecated and should not be used in newly-written code.

### gtk_signal_name()

    #define             gtk_signal_name(signal_id)

`gtk_signal_name` is deprecated and should not be used in newly-written code.

### gtk_signal_emit ()

    void
    gtk_signal_emit (GtkObject *object,
                     guint signal_id,
                     ...);

`gtk_signal_emit` is deprecated and should not be used in newly-written code.

### gtk_signal_emit_by_name ()

    void
    gtk_signal_emit_by_name (GtkObject *object,
                             const gchar *name,
                             ...);

`gtk_signal_emit_by_name` is deprecated and should not be used in newly-written code.

### gtk_signal_emitv ()

    void
    gtk_signal_emitv (GtkObject *object,
                      guint signal_id,
                      GtkArg *args);

`gtk_signal_emitv` is deprecated and should not be used in newly-written code.

### gtk_signal_emitv_by_name ()

    void
    gtk_signal_emitv_by_name (GtkObject *object,
                              const gchar *name,
                              GtkArg *args);

`gtk_signal_emitv_by_name` is deprecated and should not be used in newly-written code.

### gtk_signal_emit_stop()

    #define             gtk_signal_emit_stop(object,signal_id)

`gtk_signal_emit_stop` is deprecated and should not be used in newly-written code.

### gtk_signal_emit_stop_by_name ()

    void
    gtk_signal_emit_stop_by_name (GtkObject *object,
                                  const gchar *name);

`gtk_signal_emit_stop_by_name` is deprecated and should not be used in newly-written code.

### gtk_signal_connect()

    #define             gtk_signal_connect(object,name,func,func_data)

`gtk_signal_connect` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_after()

    #define             gtk_signal_connect_after(object,name,func,func_data)

`gtk_signal_connect_after` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_object()

    #define             gtk_signal_connect_object(object,name,func,slot_object)

`gtk_signal_connect_object` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_object_after()

    #define             gtk_signal_connect_object_after(object,name,func,slot_object)

`gtk_signal_connect_object_after` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_full ()

    gulong
    gtk_signal_connect_full (GtkObject *object,
                             const gchar *name,
                             GCallback func,
                             GtkCallbackMarshal unsupported,
                             gpointer data,
                             GDestroyNotify destroy_func,
                             gint object_signal,
                             gint after);

`gtk_signal_connect_full` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_while_alive ()

    void
    gtk_signal_connect_while_alive (GtkObject *object,
                                    const gchar *name,
                                    GCallback func,
                                    gpointer func_data,
                                    GtkObject *alive_object);

`gtk_signal_connect_while_alive` is deprecated and should not be used in newly-written code.

### gtk_signal_connect_object_while_alive ()

    void
    gtk_signal_connect_object_while_alive (GtkObject *object,
                                           const gchar *name,
                                           GCallback func,
                                           GtkObject *alive_object);

`gtk_signal_connect_object_while_alive` is deprecated and should not be used in newly-written code.

### gtk_signal_disconnect()

    #define             gtk_signal_disconnect(object,handler_id)

`gtk_signal_disconnect` is deprecated and should not be used in newly-written code.

### gtk_signal_disconnect_by_func()

    #define             gtk_signal_disconnect_by_func(object,func,data)

`gtk_signal_disconnect_by_func` is deprecated and should not be used in newly-written code.

### gtk_signal_disconnect_by_data()

    #define             gtk_signal_disconnect_by_data(object,data)

`gtk_signal_disconnect_by_data` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_block()

    #define             gtk_signal_handler_block(object,handler_id)

`gtk_signal_handler_block` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_block_by_func()

    #define             gtk_signal_handler_block_by_func(object,func,data)

`gtk_signal_handler_block_by_func` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_block_by_data()

    #define             gtk_signal_handler_block_by_data(object,data)

`gtk_signal_handler_block_by_data` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_unblock()

    #define             gtk_signal_handler_unblock(object,handler_id)

`gtk_signal_handler_unblock` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_unblock_by_func()

    #define             gtk_signal_handler_unblock_by_func(object,func,data)

`gtk_signal_handler_unblock_by_func` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_unblock_by_data()

    #define             gtk_signal_handler_unblock_by_data(object,data)

`gtk_signal_handler_unblock_by_data` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_pending()

    #define             gtk_signal_handler_pending(object,signal_id,may_be_blocked)

`gtk_signal_handler_pending` is deprecated and should not be used in newly-written code.

### gtk_signal_handler_pending_by_func()

    #define             gtk_signal_handler_pending_by_func(object,signal_id,may_be_blocked,func,data)

`gtk_signal_handler_pending_by_func` is deprecated and should not be used in newly-written code.

## Types and Values

### GTK_SIGNAL_OFFSET

    #define GTK_SIGNAL_OFFSET	                      G_STRUCT_OFFSET

`GTK_SIGNAL_OFFSET` is deprecated and should not be used in newly-written code.

### enum GtkSignalRunType

`GtkSignalRunType` is deprecated and should not be used in newly-written code.

#### Members

GTK_RUN_FIRST |  |
GTK_RUN_LAST |  |
GTK_RUN_BOTH |  |
GTK_RUN_NO_RECURSE |  |
GTK_RUN_ACTION |  |
GTK_RUN_NO_HOOKS |  |

### gtk_signal_default_marshaller

    #define gtk_signal_default_marshaller g_cclosure_marshal_VOID__VOID

`gtk_signal_default_marshaller` is deprecated and should not be used in newly-written code.