Commit c61a8f28 authored by Owen Taylor's avatar Owen Taylor

*** empty log message ***

parent 1c537e58
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
2001-03-29 Alexander Larsson <alexl@redhat.com> Wed Mar 28 00:03:10 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Havoc Pennington, hp@redhat.com ]
* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c:
Add functions gdk_window_begin_resize_drag/begin_move_drag
to start resizing or moving a toplevel window. This
is done either using the _NET_WM_MOVERESIZE protocol,
or, if that isn't present, by emulation.
* gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag
to export the above to GTK+-land.
* gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func.
* gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size):
Move this function into gdkwindow, since we need it
when implementing fallback resizing.
* gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints.
Fix typo when setting gravity.
* gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip):
Add an optional (but on by default) resize grip for resizing
the parent window.
01-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler): * gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler,that blocks all Don't return TRUE from the event handler,that blocks all
......
...@@ -5,4 +5,5 @@ GObject ...@@ -5,4 +5,5 @@ GObject
GdkWindowImplX11 GdkWindowImplX11
GdkColormap GdkColormap
GtkSettings GtkSettings
GtkRcStyle
GdkPixbufLoader GdkPixbufLoader
...@@ -6,6 +6,7 @@ GObject ...@@ -6,6 +6,7 @@ GObject
GdkPixmap GdkPixmap
GdkColormap GdkColormap
GtkSettings GtkSettings
GtkRcStyle
GtkObject GtkObject
GtkWidget GtkWidget
GtkMisc GtkMisc
......
...@@ -129,3 +129,8 @@ field of the #GtkCheckMenuItem-struct struct to discover the new state. ...@@ -129,3 +129,8 @@ field of the #GtkCheckMenuItem-struct struct to discover the new state.
</para> </para>
<!-- ##### ARG GtkCheckMenuItem:inconsistent ##### -->
<para>
</para>
...@@ -315,6 +315,14 @@ to fit. ...@@ -315,6 +315,14 @@ to fit.
@entry: the object which received the signal. @entry: the object which received the signal.
<!-- ##### SIGNAL GtkEntry::populate-popup ##### -->
<para>
</para>
@entry: the object which received the signal.
@arg1:
<!-- ##### SIGNAL GtkEntry::toggle-overwrite ##### --> <!-- ##### SIGNAL GtkEntry::toggle-overwrite ##### -->
<para> <para>
......
...@@ -496,7 +496,6 @@ This can later be composited together with other ...@@ -496,7 +496,6 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle. #GtkRcStyle structures to form a #GtkStyle.
</para> </para>
@parent_instance:
@name: @name:
@bg_pixmap_name: @bg_pixmap_name:
@font_desc: @font_desc:
......
...@@ -289,7 +289,7 @@ you don't want a return value. ...@@ -289,7 +289,7 @@ you don't want a return value.
the callbacks. the callbacks.
<!-- ##### FUNCTION gtk_signal_lookup ##### --> <!-- ##### MACRO gtk_signal_lookup ##### -->
<para> <para>
Given the name of the signal and the type of object it connects Given the name of the signal and the type of object it connects
to, get the signal's identifying integer. Emitting the signal to, get the signal's identifying integer. Emitting the signal
...@@ -299,12 +299,13 @@ by number is somewhat faster than using the name each time. ...@@ -299,12 +299,13 @@ by number is somewhat faster than using the name each time.
It also tries the ancestors of the given type. It also tries the ancestors of the given type.
</para> </para>
@Returns: the signal's identifying number, or 0 if no signal was found.
<!-- # Unused Parameters # -->
@name: the signal's name, e.g. clicked. @name: the signal's name, e.g. clicked.
@object_type: the type that the signal operates on, e.g. #GTK_TYPE_BUTTON. @object_type: the type that the signal operates on, e.g. #GTK_TYPE_BUTTON.
@Returns: the signal's identifying number, or 0 if no signal was found.
<!-- ##### FUNCTION gtk_signal_name ##### --> <!-- ##### MACRO gtk_signal_name ##### -->
<para> <para>
Given the signal's identifier, find its name. Given the signal's identifier, find its name.
</para> </para>
...@@ -312,8 +313,9 @@ Given the signal's identifier, find its name. ...@@ -312,8 +313,9 @@ Given the signal's identifier, find its name.
Two different signals may have the same name, if they have differing types. Two different signals may have the same name, if they have differing types.
</para> </para>
@signal_id: the signal's identifying number.
@Returns: the signal name, or NULL if the signal number was invalid. @Returns: the signal name, or NULL if the signal number was invalid.
<!-- # Unused Parameters # -->
@signal_id: the signal's identifying number.
<!-- ##### FUNCTION gtk_signal_emit ##### --> <!-- ##### FUNCTION gtk_signal_emit ##### -->
...@@ -381,7 +383,7 @@ an array of GtkArgs instead of using C's varargs mechanism. ...@@ -381,7 +383,7 @@ an array of GtkArgs instead of using C's varargs mechanism.
followed by one which is a pointer to the return type. followed by one which is a pointer to the return type.
<!-- ##### FUNCTION gtk_signal_emit_stop ##### --> <!-- ##### MACRO gtk_signal_emit_stop ##### -->
<para> <para>
This function aborts a signal's current emission. This function aborts a signal's current emission.
</para> </para>
...@@ -395,11 +397,11 @@ It will print a warning if used on a signal which ...@@ -395,11 +397,11 @@ It will print a warning if used on a signal which
isn't being emitted. isn't being emitted.
</para> </para>
@object: the object whose signal handlers you wish to stop.
@signal_id: the signal identifier, as returned by gtk_signal_lookup().
<!-- # Unused Parameters # -->
@i: @i:
@s: @s:
<!-- # Unused Parameters # -->
@object: the object whose signal handlers you wish to stop.
@signal_id: the signal identifier, as returned by gtk_signal_lookup().
<!-- ##### FUNCTION gtk_signal_emit_stop_by_name ##### --> <!-- ##### FUNCTION gtk_signal_emit_stop_by_name ##### -->
...@@ -415,7 +417,7 @@ except it will lookup the signal id for you. ...@@ -415,7 +417,7 @@ except it will lookup the signal id for you.
@name: the name of the signal you wish to stop. @name: the name of the signal you wish to stop.
<!-- ##### FUNCTION gtk_signal_connect ##### --> <!-- ##### MACRO gtk_signal_connect ##### -->
<para> <para>
Attach a function pointer and user data to a signal for Attach a function pointer and user data to a signal for
a particular object. a particular object.
...@@ -454,38 +456,38 @@ static void attach_print_signal(GtkButton* button, gint to_print) ...@@ -454,38 +456,38 @@ static void attach_print_signal(GtkButton* button, gint to_print)
</programlisting> </programlisting>
</informalexample> </informalexample>
@o:
@s:
@f:
@d:
@Returns: the connection id.
<!-- # Unused Parameters # -->
@object: the object associated with the signal, e.g. if a button @object: the object associated with the signal, e.g. if a button
is getting pressed, this is that button. is getting pressed, this is that button.
@name: name of the signal. @name: name of the signal.
@func: function pointer to attach to the signal. @func: function pointer to attach to the signal.
@func_data: value to pass as to your function (through the marshaller). @func_data: value to pass as to your function (through the marshaller).
@Returns: the connection id.
<!-- # Unused Parameters # -->
@o:
@s:
@f:
@d:
<!-- ##### FUNCTION gtk_signal_connect_after ##### --> <!-- ##### MACRO gtk_signal_connect_after ##### -->
<para> <para>
Attach a function pointer and user data to a signal Attach a function pointer and user data to a signal
so that this handler will be called after the other handlers. so that this handler will be called after the other handlers.
</para> </para>
@object: the object associated with the signal.
@name: name of the signal.
@func: function pointer to attach to the signal.
@func_data: value to pass as to your function (through the marshaller).
@Returns: the unique identifier for this attachment: the connection id.
<!-- # Unused Parameters # -->
@o: @o:
@s: @s:
@f: @f:
@d: @d:
@Returns: the unique identifier for this attachment: the connection id.
<!-- # Unused Parameters # -->
@object: the object associated with the signal.
@name: name of the signal.
@func: function pointer to attach to the signal.
@func_data: value to pass as to your function (through the marshaller).
<!-- ##### FUNCTION gtk_signal_connect_object ##### --> <!-- ##### MACRO gtk_signal_connect_object ##### -->
<para> <para>
This function is for registering a callback that will This function is for registering a callback that will
call another object's callback. That is, call another object's callback. That is,
...@@ -506,21 +508,21 @@ gtk_signal_connect_object(button, "clicked", gtk_widget_show, window); ...@@ -506,21 +508,21 @@ gtk_signal_connect_object(button, "clicked", gtk_widget_show, window);
</programlisting> </programlisting>
</informalexample> </informalexample>
@o:
@s:
@f:
@d:
@Returns: the connection id.
<!-- # Unused Parameters # -->
@object: the object which emits the signal. @object: the object which emits the signal.
@name: the name of the signal. @name: the name of the signal.
@func: the function to callback. @func: the function to callback.
@slot_object: the object to pass as the first parameter to func. @slot_object: the object to pass as the first parameter to func.
(Though it pretends to take an object, you can (Though it pretends to take an object, you can
really pass any gpointer as the #slot_object .) really pass any gpointer as the #slot_object .)
@Returns: the connection id.
<!-- # Unused Parameters # -->
@o:
@s:
@f:
@d:
<!-- ##### FUNCTION gtk_signal_connect_object_after ##### --> <!-- ##### MACRO gtk_signal_connect_object_after ##### -->
<para> <para>
Attach a signal hook to a signal, passing in an alternate Attach a signal hook to a signal, passing in an alternate
object as the first parameter, and guaranteeing object as the first parameter, and guaranteeing
...@@ -528,16 +530,16 @@ that the default handler and all normal ...@@ -528,16 +530,16 @@ that the default handler and all normal
handlers are called first. handlers are called first.
</para> </para>
@object: the object associated with the signal.
@name: name of the signal.
@func: function pointer to attach to the signal.
@slot_object: the object to pass as the first parameter to #func.
@Returns: the connection id.
<!-- # Unused Parameters # -->
@o: @o:
@s: @s:
@f: @f:
@d: @d:
@Returns: the connection id.
<!-- # Unused Parameters # -->
@object: the object associated with the signal.
@name: name of the signal.
@func: function pointer to attach to the signal.
@slot_object: the object to pass as the first parameter to #func.
<!-- ##### FUNCTION gtk_signal_connect_full ##### --> <!-- ##### FUNCTION gtk_signal_connect_full ##### -->
...@@ -626,95 +628,98 @@ should signal the removal of this signal. ...@@ -626,95 +628,98 @@ should signal the removal of this signal.
@name: name of the signal. @name: name of the signal.
<!-- ##### FUNCTION gtk_signal_disconnect ##### --> <!-- ##### MACRO gtk_signal_disconnect ##### -->
<para> <para>
Destroy a user-defined handler connection. Destroy a user-defined handler connection.
</para> </para>
<!-- # Unused Parameters # -->
@object: the object which the handler pertains to. @object: the object which the handler pertains to.
@handler_id: the connection id. @handler_id: the connection id.
<!-- ##### FUNCTION gtk_signal_disconnect_by_func ##### --> <!-- ##### MACRO gtk_signal_disconnect_by_func ##### -->
<para> <para>
Destroy all connections for a particular object, with Destroy all connections for a particular object, with
the given function-pointer and user-data. the given function-pointer and user-data.
</para> </para>
@object: the object which emits the signal.
@func: the function pointer to search for.
@data: the user data to search for.
<!-- # Unused Parameters # -->
@o: @o:
@f: @f:
@d: @d:
<!-- # Unused Parameters # -->
@object: the object which emits the signal.
@func: the function pointer to search for.
@data: the user data to search for.
<!-- ##### FUNCTION gtk_signal_disconnect_by_data ##### --> <!-- ##### MACRO gtk_signal_disconnect_by_data ##### -->
<para> <para>
Destroy all connections for a particular object, with Destroy all connections for a particular object, with
the given user-data. the given user-data.
</para> </para>
@object: the object which emits the signal.
@data: the user data to search for.
<!-- # Unused Parameters # -->
@o: @o:
@d: @d:
<!-- # Unused Parameters # -->
@object: the object which emits the signal.
@data: the user data to search for.
<!-- ##### FUNCTION gtk_signal_handler_block ##### --> <!-- ##### MACRO gtk_signal_handler_block ##### -->
<para> <para>
Prevent an user-defined handler from being invoked. All other Prevent an user-defined handler from being invoked. All other
signal processing will go on as normal, but this particular signal processing will go on as normal, but this particular
handler will ignore it. handler will ignore it.
</para> </para>
<!-- # Unused Parameters # -->
@object: the object which emits the signal to block. @object: the object which emits the signal to block.
@handler_id: the connection id. @handler_id: the connection id.
<!-- ##### FUNCTION gtk_signal_handler_block_by_func ##### --> <!-- ##### MACRO gtk_signal_handler_block_by_func ##### -->
<para> <para>
Prevent a user-defined handler from being invoked, by reference to Prevent a user-defined handler from being invoked, by reference to
the user-defined handler's function pointer and user data. (It may result in the user-defined handler's function pointer and user data. (It may result in
multiple hooks being blocked, if you've called connect multiple times.) multiple hooks being blocked, if you've called connect multiple times.)
</para> </para>
@object: the object which emits the signal to block.
@func: the function pointer of the handler to block.
@data: the user data of the handler to block.
<!-- # Unused Parameters # -->
@o: @o:
@f: @f:
@d: @d:
<!-- # Unused Parameters # -->
@object: the object which emits the signal to block.