diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2007-07-11 22:21:06 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-07-11 22:21:06 +0000 |
commit | 4a5ebcfc45dd9d63fbe9f3e689097e7da547ba11 (patch) | |
tree | 2a2b2219156a88b6d9b1e2c15ae136c40f97d977 /gtk/gtksocket.c | |
parent | 23b358d7b50b33de739ee2ddf143ff52bce075c3 (diff) | |
download | gtk+-4a5ebcfc45dd9d63fbe9f3e689097e7da547ba11.tar.gz |
Move some docs inline
svn path=/trunk/; revision=18447
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 8f54f58804..af66729067 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -144,6 +144,13 @@ gtk_socket_class_init (GtkSocketClass *class) container_class->remove = gtk_socket_remove; container_class->forall = gtk_socket_forall; + /** + * GtkSocket::plug-added: + * @socket_: the object which received the signal + * + * This signal is emitted when a client is successfully + * added to the socket. + */ socket_signals[PLUG_ADDED] = g_signal_new (I_("plug_added"), G_OBJECT_CLASS_TYPE (class), @@ -152,6 +159,17 @@ gtk_socket_class_init (GtkSocketClass *class) NULL, NULL, _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); + + /** + * GtkSocket::plug-removed: + * @socket_: the object which received the signal + * + * This signal is emitted when a client is removed from the socket. + * The default action is to destroy the #GtkSocket widget, so if you + * want to reuse it you must add a signal handler that returns %TRUE. + * + * Return value: %TRUE to stop other handlers from being invoked. + */ socket_signals[PLUG_REMOVED] = g_signal_new (I_("plug_removed"), G_OBJECT_CLASS_TYPE (class), |