forked from AuroraMiddleware/gtk
Move some docs inline
svn path=/trunk/; revision=18447
This commit is contained in:
parent
23b358d7b5
commit
4a5ebcfc45
@ -1,3 +1,9 @@
|
||||
2007-07-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c:
|
||||
* gtk/gtksocket.c: Move docs inline, and add some missing
|
||||
docs.
|
||||
|
||||
2007-07-11 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-07-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkplug.sgml:
|
||||
* gtk/tmpl/gtksocket.sgml: Move docs inline
|
||||
|
||||
2007-07-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtk-sections.txt: Updates
|
||||
|
@ -59,7 +59,8 @@ When GTK+ is notified that the embedded window has been
|
||||
destroyed, then it will destroy the socket as well. You
|
||||
should always, therefore, be prepared for your sockets
|
||||
to be destroyed at any time when the main event loop
|
||||
is running.
|
||||
is running. To prevent this from happening, you can
|
||||
connect to the #GtkSocket::plug-removed signal.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -112,25 +113,17 @@ never be set by an application.)
|
||||
|
||||
<!-- ##### SIGNAL GtkSocket::plug-added ##### -->
|
||||
<para>
|
||||
This signal is emitted when a client is successfully
|
||||
added to the socket.
|
||||
|
||||
</para>
|
||||
|
||||
@socket: the object which received the signal.
|
||||
<!-- # Unused Parameters # -->
|
||||
@socket_: the object which received the signal.
|
||||
@socket_:
|
||||
|
||||
<!-- ##### SIGNAL GtkSocket::plug-removed ##### -->
|
||||
<para>
|
||||
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.
|
||||
|
||||
</para>
|
||||
|
||||
@socket: the object which received the signal.
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@socket_: the object which received the signal.
|
||||
@socket_:
|
||||
|
||||
<!-- ##### FUNCTION gtk_socket_new ##### -->
|
||||
<para>
|
||||
|
@ -148,6 +148,13 @@ gtk_plug_class_init (GtkPlugClass *class)
|
||||
FALSE,
|
||||
GTK_PARAM_READABLE));
|
||||
|
||||
/**
|
||||
* GtkPlug::embedded:
|
||||
* @plug: the object on which the signal was emitted
|
||||
*
|
||||
* Gets emitted when the plug becomes embedded in a socket
|
||||
* and when the embedding ends.
|
||||
*/
|
||||
plug_signals[EMBEDDED] =
|
||||
g_signal_new (I_("embedded"),
|
||||
G_OBJECT_CLASS_TYPE (class),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user