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>
|
2007-07-11 Kristian Rietveld <kris@imendio.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
|
* 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>
|
2007-07-11 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtk-sections.txt: Updates
|
* 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
|
destroyed, then it will destroy the socket as well. You
|
||||||
should always, therefore, be prepared for your sockets
|
should always, therefore, be prepared for your sockets
|
||||||
to be destroyed at any time when the main event loop
|
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>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -112,25 +113,17 @@ never be set by an application.)
|
|||||||
|
|
||||||
<!-- ##### SIGNAL GtkSocket::plug-added ##### -->
|
<!-- ##### SIGNAL GtkSocket::plug-added ##### -->
|
||||||
<para>
|
<para>
|
||||||
This signal is emitted when a client is successfully
|
|
||||||
added to the socket.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@socket: the object which received the signal.
|
@socket_:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@socket_: the object which received the signal.
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GtkSocket::plug-removed ##### -->
|
<!-- ##### SIGNAL GtkSocket::plug-removed ##### -->
|
||||||
<para>
|
<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>
|
</para>
|
||||||
|
|
||||||
@socket: the object which received the signal.
|
@socket_:
|
||||||
@Returns:
|
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@socket_: the object which received the signal.
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_socket_new ##### -->
|
<!-- ##### FUNCTION gtk_socket_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -148,6 +148,13 @@ gtk_plug_class_init (GtkPlugClass *class)
|
|||||||
FALSE,
|
FALSE,
|
||||||
GTK_PARAM_READABLE));
|
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] =
|
plug_signals[EMBEDDED] =
|
||||||
g_signal_new (I_("embedded"),
|
g_signal_new (I_("embedded"),
|
||||||
G_OBJECT_CLASS_TYPE (class),
|
G_OBJECT_CLASS_TYPE (class),
|
||||||
|
@ -144,6 +144,13 @@ gtk_socket_class_init (GtkSocketClass *class)
|
|||||||
container_class->remove = gtk_socket_remove;
|
container_class->remove = gtk_socket_remove;
|
||||||
container_class->forall = gtk_socket_forall;
|
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] =
|
socket_signals[PLUG_ADDED] =
|
||||||
g_signal_new (I_("plug_added"),
|
g_signal_new (I_("plug_added"),
|
||||||
G_OBJECT_CLASS_TYPE (class),
|
G_OBJECT_CLASS_TYPE (class),
|
||||||
@ -152,6 +159,17 @@ gtk_socket_class_init (GtkSocketClass *class)
|
|||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
_gtk_marshal_VOID__VOID,
|
_gtk_marshal_VOID__VOID,
|
||||||
G_TYPE_NONE, 0);
|
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] =
|
socket_signals[PLUG_REMOVED] =
|
||||||
g_signal_new (I_("plug_removed"),
|
g_signal_new (I_("plug_removed"),
|
||||||
G_OBJECT_CLASS_TYPE (class),
|
G_OBJECT_CLASS_TYPE (class),
|
||||||
|
Loading…
Reference in New Issue
Block a user