diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-10-25 19:58:51 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-10-25 19:58:51 +0000 |
commit | 356df7f65002a47516b542ace1fe88badf9d4965 (patch) | |
tree | effb19a2188dff1b081eb353c61afa2539db64fa | |
parent | 3a7a64aa46ea1c312c06e17a177c81fddfa93683 (diff) | |
download | gtk+-356df7f65002a47516b542ace1fe88badf9d4965.tar.gz |
Make this function take an index and a GtkToolItem.
Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
this function take an index and a GtkToolItem.
* tests/testtoolbar.c (main): Make "Show Arrow" default to
true. Make one of the separators !draw and expand.
Update for new highlight_drop_location() API.
* gtk/gtktoolitem.[ch]: Remove "pack_end" property
* gtk/gtktoolbar.h: Formatting fixes.
* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
separator tool items to expand.
(logical_to_physical, physical_to_logical): Fix off-by-one errors
(Fix #125472, Marco Pesenti Gritti)
* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
return FALSE, not TRUE.
(gtk_separator_too_item_{set|get}_property,
(gtk_separator_tool_item_{set|get}_draw): new functions
117 files changed, 5473 insertions, 5236 deletions
@@ -1,3 +1,27 @@ +Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make + this function take an index and a GtkToolItem. + + * tests/testtoolbar.c (main): Make "Show Arrow" default to + true. Make one of the separators !draw and expand. + Update for new highlight_drop_location() API. + + * gtk/gtktoolitem.[ch]: Remove "pack_end" property + + * gtk/gtktoolbar.h: Formatting fixes. + + * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow + separator tool items to expand. + (logical_to_physical, physical_to_logical): Fix off-by-one errors + (Fix #125472, Marco Pesenti Gritti) + + * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. + (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also + return FALSE, not TRUE. + (gtk_separator_too_item_{set|get}_property, + (gtk_separator_tool_item_{set|get}_draw): new functions + Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 916df093df..1018811006 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,27 @@ +Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make + this function take an index and a GtkToolItem. + + * tests/testtoolbar.c (main): Make "Show Arrow" default to + true. Make one of the separators !draw and expand. + Update for new highlight_drop_location() API. + + * gtk/gtktoolitem.[ch]: Remove "pack_end" property + + * gtk/gtktoolbar.h: Formatting fixes. + + * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow + separator tool items to expand. + (logical_to_physical, physical_to_logical): Fix off-by-one errors + (Fix #125472, Marco Pesenti Gritti) + + * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. + (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also + return FALSE, not TRUE. + (gtk_separator_too_item_{set|get}_property, + (gtk_separator_tool_item_{set|get}_draw): new functions + Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 916df093df..1018811006 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,27 @@ +Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make + this function take an index and a GtkToolItem. + + * tests/testtoolbar.c (main): Make "Show Arrow" default to + true. Make one of the separators !draw and expand. + Update for new highlight_drop_location() API. + + * gtk/gtktoolitem.[ch]: Remove "pack_end" property + + * gtk/gtktoolbar.h: Formatting fixes. + + * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow + separator tool items to expand. + (logical_to_physical, physical_to_logical): Fix off-by-one errors + (Fix #125472, Marco Pesenti Gritti) + + * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. + (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also + return FALSE, not TRUE. + (gtk_separator_too_item_{set|get}_property, + (gtk_separator_tool_item_{set|get}_draw): new functions + Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 916df093df..1018811006 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,27 @@ +Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make + this function take an index and a GtkToolItem. + + * tests/testtoolbar.c (main): Make "Show Arrow" default to + true. Make one of the separators !draw and expand. + Update for new highlight_drop_location() API. + + * gtk/gtktoolitem.[ch]: Remove "pack_end" property + + * gtk/gtktoolbar.h: Formatting fixes. + + * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow + separator tool items to expand. + (logical_to_physical, physical_to_logical): Fix off-by-one errors + (Fix #125472, Marco Pesenti Gritti) + + * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. + (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also + return FALSE, not TRUE. + (gtk_separator_too_item_{set|get}_property, + (gtk_separator_tool_item_{set|get}_draw): new functions + Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 916df093df..1018811006 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,27 @@ +Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make + this function take an index and a GtkToolItem. + + * tests/testtoolbar.c (main): Make "Show Arrow" default to + true. Make one of the separators !draw and expand. + Update for new highlight_drop_location() API. + + * gtk/gtktoolitem.[ch]: Remove "pack_end" property + + * gtk/gtktoolbar.h: Formatting fixes. + + * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow + separator tool items to expand. + (logical_to_physical, physical_to_logical): Fix off-by-one errors + (Fix #125472, Marco Pesenti Gritti) + + * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. + (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also + return FALSE, not TRUE. + (gtk_separator_too_item_{set|get}_property, + (gtk_separator_tool_item_{set|get}_draw): new functions + Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index c76871ca8d..64a9ce7bcb 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 24 13:15:32 2003 Soeren Sandmann <sandmann@daimi.au.dk> + + * gtk/tmpl/gtktoolbar.sgml, gtk/tmpl/gtkseparatortoolitem.sgml: + Mention the "expand" and "draw" trick for separator tool items. + Fri Oct 24 17:21:04 2003 Owen Taylor <otaylor@redhat.com> * gdk-pixbuf/Makefile.am gtk/Makefile.am: Distribute generated diff --git a/docs/reference/gtk/tmpl/gtk-unused.sgml b/docs/reference/gtk/tmpl/gtk-unused.sgml index fa5831aaab..3ae230a9b6 100644 --- a/docs/reference/gtk/tmpl/gtk-unused.sgml +++ b/docs/reference/gtk/tmpl/gtk-unused.sgml @@ -525,6 +525,27 @@ This is a private struct used by GTK+ internally, don't worry about it. @object: @signal_id: +<!-- ##### SIGNAL GtkAccelGroup::accel-activate ##### --> +<para> + +</para> + +@accelgroup: the object which received the signal. +@arg1: +@arg2: +@arg3: +@Returns: + +<!-- ##### SIGNAL GtkAccelGroup::accel-changed ##### --> +<para> + +</para> + +@accelgroup: the object which received the signal. +@arg1: +@arg2: +@arg3: + <!-- ##### ARG GtkAccelLabel:accel-object ##### --> <para> @@ -1065,24 +1086,138 @@ after other user handlers and the default handler. </para> +<!-- ##### ARG GtkSettings:gtk-can-change-accels ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-color-palette ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-cursor-blink ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-cursor-blink-time ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-dnd-drag-threshold ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-double-click-time ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-entry-select-on-focus ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-font-name ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-icon-sizes ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-icon-theme-name ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-key-theme-name ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-menu-bar-accel ##### --> +<para> + +</para> + + <!-- ##### ARG GtkSettings:gtk-menu-bar-popout-delay ##### --> <para> </para> +<!-- ##### ARG GtkSettings:gtk-menu-bar-popup-delay ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-menu-popdown-delay ##### --> +<para> + +</para> + + <!-- ##### ARG GtkSettings:gtk-menu-popout-delay ##### --> <para> </para> +<!-- ##### ARG GtkSettings:gtk-menu-popup-delay ##### --> +<para> + +</para> + + <!-- ##### ARG GtkSettings:gtk-menu-submenu-hysteresis ##### --> <para> </para> +<!-- ##### ARG GtkSettings:gtk-split-cursor ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-theme-name ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-toolbar-icon-size ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkSettings:gtk-toolbar-style ##### --> +<para> + +</para> + + <!-- ##### STRUCT GtkSettingsClass ##### --> <para> @@ -1259,6 +1394,12 @@ produce superscript and subscript. </para> +<!-- ##### ARG GtkToolbar:pack-end ##### --> +<para> + +</para> + + <!-- ##### STRUCT GtkTreeSelectionClass ##### --> <para> @@ -2911,6 +3052,22 @@ Creates a border around the arrows of a #GtkSpinButton. The type of border is de @Returns: +<!-- ##### FUNCTION gtk_tool_item_get_pack_end ##### --> +<para> + +</para> + +@tool_item: +@Returns: + +<!-- ##### FUNCTION gtk_tool_item_set_pack_end ##### --> +<para> + +</para> + +@tool_item: +@pack_end: + <!-- ##### FUNCTION gtk_tool_item_toolbar_reconfigured ##### --> <para> diff --git a/docs/reference/gtk/tmpl/gtkaccelgroup.sgml b/docs/reference/gtk/tmpl/gtkaccelgroup.sgml index 21bbf98fa4..ecefb40f97 100644 --- a/docs/reference/gtk/tmpl/gtkaccelgroup.sgml +++ b/docs/reference/gtk/tmpl/gtkaccelgroup.sgml @@ -37,27 +37,6 @@ An object representing and maintaining a group of accelerators. </para> -<!-- ##### SIGNAL GtkAccelGroup::accel-activate ##### --> -<para> - -</para> - -@accelgroup: the object which received the signal. -@arg1: -@arg2: -@arg3: -@Returns: - -<!-- ##### SIGNAL GtkAccelGroup::accel-changed ##### --> -<para> - -</para> - -@accelgroup: the object which received the signal. -@arg1: -@arg2: -@arg3: - <!-- ##### FUNCTION gtk_accel_group_new ##### --> <para> diff --git a/docs/reference/gtk/tmpl/gtkaccellabel.sgml b/docs/reference/gtk/tmpl/gtkaccellabel.sgml index 0d8ec122dc..222c0ec661 100644 --- a/docs/reference/gtk/tmpl/gtkaccellabel.sgml +++ b/docs/reference/gtk/tmpl/gtkaccellabel.sgml @@ -85,16 +85,6 @@ should be accessed using the functions below. </para> -<!-- ##### ARG GtkAccelLabel:accel-closure ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAccelLabel:accel-widget ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_accel_label_new ##### --> <para> Creates a new #GtkAccelLabel. @@ -155,3 +145,13 @@ accelerators are added or removed from the associated widget. @Returns: always returns %FALSE. +<!-- ##### ARG GtkAccelLabel:accel-closure ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAccelLabel:accel-widget ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkaction.sgml b/docs/reference/gtk/tmpl/gtkaction.sgml index 59bcd796f8..cbe3eecbf9 100644 --- a/docs/reference/gtk/tmpl/gtkaction.sgml +++ b/docs/reference/gtk/tmpl/gtkaction.sgml @@ -55,75 +55,70 @@ and should not be accessed directly. </para> -<!-- ##### SIGNAL GtkAction::activate ##### --> +<!-- ##### FUNCTION gtk_action_get_name ##### --> <para> </para> -@action: the object which received the signal. +@action: +@Returns: -<!-- ##### SIGNAL GtkAction::connect-proxy ##### --> + +<!-- ##### FUNCTION gtk_action_activate ##### --> <para> </para> -@action: the object which received the signal. -@widget: +@action: -<!-- ##### SIGNAL GtkAction::disconnect-proxy ##### --> + +<!-- ##### FUNCTION gtk_action_create_icon ##### --> <para> </para> -@action: the object which received the signal. -@widget: - -<!-- ##### ARG GtkAction:hide-if-empty ##### --> -<para> +@action: +@icon_size: +@Returns: -</para> -<!-- ##### ARG GtkAction:is-important ##### --> +<!-- ##### FUNCTION gtk_action_create_menu_item ##### --> <para> </para> -<!-- ##### ARG GtkAction:label ##### --> -<para> +@action: +@Returns: -</para> -<!-- ##### ARG GtkAction:name ##### --> +<!-- ##### FUNCTION gtk_action_create_tool_item ##### --> <para> </para> -<!-- ##### ARG GtkAction:sensitive ##### --> -<para> +@action: +@Returns: -</para> -<!-- ##### ARG GtkAction:short-label ##### --> +<!-- ##### FUNCTION gtk_action_connect_proxy ##### --> <para> </para> -<!-- ##### ARG GtkAction:stock-id ##### --> -<para> +@action: +@proxy: -</para> -<!-- ##### ARG GtkAction:tooltip ##### --> +<!-- ##### FUNCTION gtk_action_disconnect_proxy ##### --> <para> </para> -<!-- ##### ARG GtkAction:visible ##### --> -<para> +@action: +@proxy: -</para> -<!-- ##### FUNCTION gtk_action_get_name ##### --> +<!-- ##### FUNCTION gtk_action_get_proxies ##### --> <para> </para> @@ -132,7 +127,7 @@ and should not be accessed directly. @Returns: -<!-- ##### FUNCTION gtk_action_activate ##### --> +<!-- ##### FUNCTION gtk_action_connect_accelerator ##### --> <para> </para> @@ -140,110 +135,115 @@ and should not be accessed directly. @action: -<!-- ##### FUNCTION gtk_action_create_icon ##### --> +<!-- ##### FUNCTION gtk_action_disconnect_accelerator ##### --> <para> </para> @action: -@icon_size: -@Returns: -<!-- ##### FUNCTION gtk_action_create_menu_item ##### --> +<!-- ##### FUNCTION gtk_action_block_activate_from ##### --> <para> </para> @action: -@Returns: +@proxy: -<!-- ##### FUNCTION gtk_action_create_tool_item ##### --> +<!-- ##### FUNCTION gtk_action_unblock_activate_from ##### --> <para> </para> @action: -@Returns: +@proxy: -<!-- ##### FUNCTION gtk_action_connect_proxy ##### --> +<!-- ##### FUNCTION gtk_action_set_accel_path ##### --> <para> </para> @action: -@proxy: +@accel_path: -<!-- ##### FUNCTION gtk_action_disconnect_proxy ##### --> +<!-- ##### FUNCTION gtk_action_set_accel_group ##### --> <para> </para> @action: -@proxy: +@accel_group: -<!-- ##### FUNCTION gtk_action_get_proxies ##### --> +<!-- ##### SIGNAL GtkAction::activate ##### --> <para> </para> -@action: -@Returns: - +@action: the object which received the signal. -<!-- ##### FUNCTION gtk_action_connect_accelerator ##### --> +<!-- ##### SIGNAL GtkAction::connect-proxy ##### --> <para> </para> -@action: - +@action: the object which received the signal. +@widget: -<!-- ##### FUNCTION gtk_action_disconnect_accelerator ##### --> +<!-- ##### SIGNAL GtkAction::disconnect-proxy ##### --> <para> </para> -@action: +@action: the object which received the signal. +@widget: + +<!-- ##### ARG GtkAction:hide-if-empty ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_action_block_activate_from ##### --> +<!-- ##### ARG GtkAction:is-important ##### --> <para> </para> -@action: -@proxy: +<!-- ##### ARG GtkAction:label ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_action_unblock_activate_from ##### --> +<!-- ##### ARG GtkAction:name ##### --> <para> </para> -@action: -@proxy: +<!-- ##### ARG GtkAction:sensitive ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_action_set_accel_path ##### --> +<!-- ##### ARG GtkAction:short-label ##### --> <para> </para> -@action: -@accel_path: +<!-- ##### ARG GtkAction:stock-id ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_action_set_accel_group ##### --> +<!-- ##### ARG GtkAction:tooltip ##### --> <para> </para> -@action: -@accel_group: +<!-- ##### ARG GtkAction:visible ##### --> +<para> +</para> diff --git a/docs/reference/gtk/tmpl/gtkadjustment.sgml b/docs/reference/gtk/tmpl/gtkadjustment.sgml index 117273e969..3d4a86ec3e 100644 --- a/docs/reference/gtk/tmpl/gtkadjustment.sgml +++ b/docs/reference/gtk/tmpl/gtkadjustment.sgml @@ -79,21 +79,6 @@ In a #GtkScrollbar this is the size of the area which is currently visible. </para> -<!-- ##### SIGNAL GtkAdjustment::changed ##### --> -<para> -Emitted when one or more of the #GtkAdjustment fields have been changed, -other than the value field. -</para> - -@adjustment: the object which received the signal. - -<!-- ##### SIGNAL GtkAdjustment::value-changed ##### --> -<para> -Emitted when the #GtkAdjustment value field has been changed. -</para> - -@adjustment: the object which received the signal. - <!-- ##### FUNCTION gtk_adjustment_new ##### --> <para> Creates a new #GtkAdjustment. @@ -168,3 +153,18 @@ changed the #GtkAdjustment value field. @adjustment: +<!-- ##### SIGNAL GtkAdjustment::changed ##### --> +<para> +Emitted when one or more of the #GtkAdjustment fields have been changed, +other than the value field. +</para> + +@adjustment: the object which received the signal. + +<!-- ##### SIGNAL GtkAdjustment::value-changed ##### --> +<para> +Emitted when the #GtkAdjustment value field has been changed. +</para> + +@adjustment: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkalignment.sgml b/docs/reference/gtk/tmpl/gtkalignment.sgml index 24c0af8263..e1994767dd 100644 --- a/docs/reference/gtk/tmpl/gtkalignment.sgml +++ b/docs/reference/gtk/tmpl/gtkalignment.sgml @@ -34,46 +34,6 @@ be accessed using the functions below. </para> -<!-- ##### ARG GtkAlignment:bottom-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:left-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:right-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:top-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:xscale ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:yalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAlignment:yscale ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_alignment_new ##### --> <para> Creates a new #GtkAlignment. @@ -136,3 +96,43 @@ unused space, from 0 to 1. The values are similar to @xscale. @padding_right: +<!-- ##### ARG GtkAlignment:bottom-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:left-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:right-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:top-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:xscale ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:yalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAlignment:yscale ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkarrow.sgml b/docs/reference/gtk/tmpl/gtkarrow.sgml index 8f7a05f575..89e4b7d7c8 100644 --- a/docs/reference/gtk/tmpl/gtkarrow.sgml +++ b/docs/reference/gtk/tmpl/gtkarrow.sgml @@ -57,16 +57,6 @@ an application.) </para> -<!-- ##### ARG GtkArrow:arrow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkArrow:shadow-type ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_arrow_new ##### --> <para>
Creates a new arrow widget.
@@ -87,3 +77,13 @@ Sets the direction and style of the #GtkArrow, @arrow. @shadow_type: a valid #GtkShadowType. +<!-- ##### ARG GtkArrow:arrow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkArrow:shadow-type ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkaspectframe.sgml b/docs/reference/gtk/tmpl/gtkaspectframe.sgml index 03b6aaccd8..a68fe393f1 100644 --- a/docs/reference/gtk/tmpl/gtkaspectframe.sgml +++ b/docs/reference/gtk/tmpl/gtkaspectframe.sgml @@ -26,26 +26,6 @@ a frame around the child. The frame will be </para> -<!-- ##### ARG GtkAspectFrame:obey-child ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAspectFrame:ratio ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAspectFrame:xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkAspectFrame:yalign ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_aspect_frame_new ##### --> <para> Create a new #GtkAspectFrame. @@ -83,3 +63,23 @@ to 1.0 (right aligned) ratio is taken from the requistion of the child. +<!-- ##### ARG GtkAspectFrame:obey-child ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAspectFrame:ratio ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAspectFrame:xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkAspectFrame:yalign ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkbbox.sgml b/docs/reference/gtk/tmpl/gtkbbox.sgml index 1133fa6164..fddb0f4347 100644 --- a/docs/reference/gtk/tmpl/gtkbbox.sgml +++ b/docs/reference/gtk/tmpl/gtkbbox.sgml @@ -52,36 +52,6 @@ This is a read-only struct; no members should be modified directly. </para> -<!-- ##### ARG GtkButtonBox:layout-style ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButtonBox:secondary ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButtonBox:child-internal-pad-x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButtonBox:child-internal-pad-y ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButtonBox:child-min-height ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButtonBox:child-min-width ##### --> -<para> - -</para> - <!-- ##### MACRO GTK_BUTTONBOX_DEFAULT ##### --> <para> Used internally only. @@ -200,3 +170,33 @@ box. @is_secondary: +<!-- ##### ARG GtkButtonBox:layout-style ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButtonBox:secondary ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButtonBox:child-internal-pad-x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButtonBox:child-internal-pad-y ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButtonBox:child-min-height ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButtonBox:child-min-width ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkbox.sgml b/docs/reference/gtk/tmpl/gtkbox.sgml index 80dc6282b5..d4faa8dbe1 100644 --- a/docs/reference/gtk/tmpl/gtkbox.sgml +++ b/docs/reference/gtk/tmpl/gtkbox.sgml @@ -135,41 +135,6 @@ field.</entry> @spacing: @homogeneous: -<!-- ##### ARG GtkBox:homogeneous ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:expand ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:fill ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:pack-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkBox:position ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkBoxChild ##### --> <para>
The #GtkBoxChild-struct holds a child widget of GtkBox and describes
@@ -408,3 +373,38 @@ field in #GtkBoxChild-struct. in #GtkBoxChild-struct. +<!-- ##### ARG GtkBox:homogeneous ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:expand ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:fill ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:pack-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkBox:position ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkbutton.sgml b/docs/reference/gtk/tmpl/gtkbutton.sgml index 4b5c0be256..bc23ab0130 100644 --- a/docs/reference/gtk/tmpl/gtkbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkbutton.sgml @@ -27,96 +27,6 @@ This should not be accessed directly. Use the accessor functions below. </para> -<!-- ##### SIGNAL GtkButton::activate ##### --> -<para> - -</para> - -@button: the object which received the signal. - -<!-- ##### SIGNAL GtkButton::clicked ##### --> -<para> -Emitted when a button clicked on by the mouse and the cursor stays on the -button. If the cursor is not on the button when the mouse button is released, -the signal is not emitted. -</para> - -@button: the object which received the signal. - -<!-- ##### SIGNAL GtkButton::enter ##### --> -<para> -Emitted when the mouse cursor enters the region of the button. -</para> - -@button: the object which received the signal. - -<!-- ##### SIGNAL GtkButton::leave ##### --> -<para> -Emitted when the mouse cursor leaves the region of the button. -</para> - -@button: the object which received the signal. - -<!-- ##### SIGNAL GtkButton::pressed ##### --> -<para> -Emitted when the button is initially pressed. -</para> - -@button: the object which received the signal. - -<!-- ##### SIGNAL GtkButton::released ##### --> -<para> -Emitted when a button which is pressed is released, no matter where the -mouse cursor is. -</para> - -@button: the object which received the signal. - -<!-- ##### ARG GtkButton:focus-on-click ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:relief ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:use-stock ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:use-underline ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:child-displacement-x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:child-displacement-y ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:default-border ##### --> -<para> - -</para> - -<!-- ##### ARG GtkButton:default-outside-border ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_button_new ##### --> <para> Creates a new #GtkButton widget. To add a child widget to the button, @@ -292,3 +202,93 @@ Returns the current relief style of the given #GtkButton. @Returns: +<!-- ##### SIGNAL GtkButton::activate ##### --> +<para> + +</para> + +@button: the object which received the signal. + +<!-- ##### SIGNAL GtkButton::clicked ##### --> +<para> +Emitted when a button clicked on by the mouse and the cursor stays on the +button. If the cursor is not on the button when the mouse button is released, +the signal is not emitted. +</para> + +@button: the object which received the signal. + +<!-- ##### SIGNAL GtkButton::enter ##### --> +<para> +Emitted when the mouse cursor enters the region of the button. +</para> + +@button: the object which received the signal. + +<!-- ##### SIGNAL GtkButton::leave ##### --> +<para> +Emitted when the mouse cursor leaves the region of the button. +</para> + +@button: the object which received the signal. + +<!-- ##### SIGNAL GtkButton::pressed ##### --> +<para> +Emitted when the button is initially pressed. +</para> + +@button: the object which received the signal. + +<!-- ##### SIGNAL GtkButton::released ##### --> +<para> +Emitted when a button which is pressed is released, no matter where the +mouse cursor is. +</para> + +@button: the object which received the signal. + +<!-- ##### ARG GtkButton:focus-on-click ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:relief ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:use-stock ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:use-underline ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:child-displacement-x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:child-displacement-y ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:default-border ##### --> +<para> + +</para> + +<!-- ##### ARG GtkButton:default-outside-border ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcalendar.sgml b/docs/reference/gtk/tmpl/gtkcalendar.sgml index f5a1552b72..0d6bc29002 100644 --- a/docs/reference/gtk/tmpl/gtkcalendar.sgml +++ b/docs/reference/gtk/tmpl/gtkcalendar.sgml @@ -65,91 +65,6 @@ are 0-11) while <structfield>selected_day</structfield> is one-based </note> -<!-- ##### SIGNAL GtkCalendar::day-selected ##### --> -<para> -Emitted when the user selects a day. -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::day-selected-double-click ##### --> -<para> - -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::month-changed ##### --> -<para> -Emitted when the user clicks a button to change the selected month on a -calendar. -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::next-month ##### --> -<para> - -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::next-year ##### --> -<para> - -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::prev-month ##### --> -<para> - -</para> - -@calendar: the object which received the signal. - -<!-- ##### SIGNAL GtkCalendar::prev-year ##### --> -<para> - -</para> - -@calendar: the object which received the signal. - -<!-- ##### ARG GtkCalendar:day ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:month ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:no-month-change ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:show-day-names ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:show-heading ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:show-week-numbers ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCalendar:year ##### --> -<para> - -</para> - <!-- ##### ENUM GtkCalendarDisplayOptions ##### --> <para> These options can be used to influence the display and behaviour of a #GtkCalendar. @@ -276,3 +191,88 @@ gtk_calendar_freeze() are displayed. @calendar: a #GtkCalendar. +<!-- ##### SIGNAL GtkCalendar::day-selected ##### --> +<para> +Emitted when the user selects a day. +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::day-selected-double-click ##### --> +<para> + +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::month-changed ##### --> +<para> +Emitted when the user clicks a button to change the selected month on a +calendar. +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::next-month ##### --> +<para> + +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::next-year ##### --> +<para> + +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::prev-month ##### --> +<para> + +</para> + +@calendar: the object which received the signal. + +<!-- ##### SIGNAL GtkCalendar::prev-year ##### --> +<para> + +</para> + +@calendar: the object which received the signal. + +<!-- ##### ARG GtkCalendar:day ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:month ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:no-month-change ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:show-day-names ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:show-heading ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:show-week-numbers ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCalendar:year ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcelleditable.sgml b/docs/reference/gtk/tmpl/gtkcelleditable.sgml index d4f0aa5d09..6ef345d4ee 100644 --- a/docs/reference/gtk/tmpl/gtkcelleditable.sgml +++ b/docs/reference/gtk/tmpl/gtkcelleditable.sgml @@ -20,20 +20,6 @@ Interface for widgets which can are used for editing cells </para> -<!-- ##### SIGNAL GtkCellEditable::editing-done ##### --> -<para> - -</para> - -@celleditable: the object which received the signal. - -<!-- ##### SIGNAL GtkCellEditable::remove-widget ##### --> -<para> - -</para> - -@celleditable: the object which received the signal. - <!-- ##### STRUCT GtkCellEditableIface ##### --> <para> @@ -69,3 +55,17 @@ Interface for widgets which can are used for editing cells @cell_editable: +<!-- ##### SIGNAL GtkCellEditable::editing-done ##### --> +<para> + +</para> + +@celleditable: the object which received the signal. + +<!-- ##### SIGNAL GtkCellEditable::remove-widget ##### --> +<para> + +</para> + +@celleditable: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkcellrenderer.sgml b/docs/reference/gtk/tmpl/gtkcellrenderer.sgml index fd36185868..3a35ee8fc0 100644 --- a/docs/reference/gtk/tmpl/gtkcellrenderer.sgml +++ b/docs/reference/gtk/tmpl/gtkcellrenderer.sgml @@ -66,71 +66,6 @@ it cannot be individually modified. </para> -<!-- ##### ARG GtkCellRenderer:cell-background ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:cell-background-gdk ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:cell-background-set ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:height ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:is-expanded ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:is-expander ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:mode ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:visible ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:xpad ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:yalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCellRenderer:ypad ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_cell_renderer_get_size ##### --> <para> @@ -209,3 +144,68 @@ it cannot be individually modified. @height: +<!-- ##### ARG GtkCellRenderer:cell-background ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:cell-background-gdk ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:cell-background-set ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:height ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:is-expanded ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:is-expander ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:mode ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:visible ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:xpad ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:yalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCellRenderer:ypad ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml b/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml index 575380df17..ad20d1c39e 100644 --- a/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml +++ b/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml @@ -20,6 +20,14 @@ Renders a pixbuf in a cell </para> +<!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### --> +<para> + +</para> + +@Returns: + + <!-- ##### ARG GtkCellRendererPixbuf:pixbuf ##### --> <para> @@ -50,11 +58,3 @@ Renders a pixbuf in a cell </para> -<!-- ##### FUNCTION gtk_cell_renderer_pixbuf_new ##### --> -<para> - -</para> - -@Returns: - - diff --git a/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml b/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml index 09056b7a2c..1b569d4680 100644 --- a/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml +++ b/docs/reference/gtk/tmpl/gtkcellrenderertext.sgml @@ -20,6 +20,23 @@ Renders text in a cell </para> +<!-- ##### FUNCTION gtk_cell_renderer_text_new ##### --> +<para> + +</para> + +@Returns: + + +<!-- ##### FUNCTION gtk_cell_renderer_text_set_fixed_height_from_font ##### --> +<para> + +</para> + +@renderer: +@number_of_rows: + + <!-- ##### SIGNAL GtkCellRendererText::edited ##### --> <para> @@ -199,20 +216,3 @@ Renders text in a cell </para> -<!-- ##### FUNCTION gtk_cell_renderer_text_new ##### --> -<para> - -</para> - -@Returns: - - -<!-- ##### FUNCTION gtk_cell_renderer_text_set_fixed_height_from_font ##### --> -<para> - -</para> - -@renderer: -@number_of_rows: - - diff --git a/docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml b/docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml index 12f75faf9d..769c3c542d 100644 --- a/docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml +++ b/docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml @@ -20,75 +20,75 @@ Renders a toggle button in a cell </para> -<!-- ##### SIGNAL GtkCellRendererToggle::toggled ##### --> +<!-- ##### FUNCTION gtk_cell_renderer_toggle_new ##### --> <para> </para> -@cellrenderertoggle: the object which received the signal. -@arg1: +@Returns: -<!-- ##### ARG GtkCellRendererToggle:activatable ##### --> + +<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_radio ##### --> <para> </para> -<!-- ##### ARG GtkCellRendererToggle:active ##### --> -<para> +@toggle: +@Returns: -</para> -<!-- ##### ARG GtkCellRendererToggle:inconsistent ##### --> +<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_radio ##### --> <para> </para> -<!-- ##### ARG GtkCellRendererToggle:radio ##### --> -<para> +@toggle: +@radio: -</para> -<!-- ##### FUNCTION gtk_cell_renderer_toggle_new ##### --> +<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_active ##### --> <para> </para> +@toggle: @Returns: -<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_radio ##### --> +<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_active ##### --> <para> </para> @toggle: -@Returns: +@setting: -<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_radio ##### --> +<!-- ##### SIGNAL GtkCellRendererToggle::toggled ##### --> <para> </para> -@toggle: -@radio: - +@cellrenderertoggle: the object which received the signal. +@arg1: -<!-- ##### FUNCTION gtk_cell_renderer_toggle_get_active ##### --> +<!-- ##### ARG GtkCellRendererToggle:activatable ##### --> <para> </para> -@toggle: -@Returns: +<!-- ##### ARG GtkCellRendererToggle:active ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_cell_renderer_toggle_set_active ##### --> +<!-- ##### ARG GtkCellRendererToggle:inconsistent ##### --> <para> </para> -@toggle: -@setting: +<!-- ##### ARG GtkCellRendererToggle:radio ##### --> +<para> +</para> diff --git a/docs/reference/gtk/tmpl/gtkcheckbutton.sgml b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml index 2f6a954f2c..7b5e72c6ad 100644 --- a/docs/reference/gtk/tmpl/gtkcheckbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml @@ -40,16 +40,6 @@ The important signal ('toggled') is also inherited from #GtkToggleButton. </para> -<!-- ##### ARG GtkCheckButton:indicator-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCheckButton:indicator-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_check_button_new ##### --> <para> Creates a new #GtkCheckButton. @@ -76,3 +66,13 @@ Creates a new #GtkCheckButton with a #GtkLabel to the right of it. @Returns: +<!-- ##### ARG GtkCheckButton:indicator-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCheckButton:indicator-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml index 84b8166745..d263ed9419 100644 --- a/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml +++ b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml @@ -41,33 +41,6 @@ an application.) </para> -<!-- ##### SIGNAL GtkCheckMenuItem::toggled ##### --> -<para> -This signal is emitted when the state of the check box is changed. -</para> - -<para> -A signal handler can examine the <structfield>active</structfield> -field of the #GtkCheckMenuItem-struct struct to discover the new state. -</para> - -@checkmenuitem: the object which received the signal. - -<!-- ##### ARG GtkCheckMenuItem:active ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCheckMenuItem:draw-as-radio ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCheckMenuItem:inconsistent ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_check_menu_item_new ##### --> <para> Creates a new #GtkCheckMenuItem. @@ -175,3 +148,30 @@ Emits the GtkCheckMenuItem::toggled signal. @Returns: +<!-- ##### SIGNAL GtkCheckMenuItem::toggled ##### --> +<para> +This signal is emitted when the state of the check box is changed. +</para> + +<para> +A signal handler can examine the <structfield>active</structfield> +field of the #GtkCheckMenuItem-struct struct to discover the new state. +</para> + +@checkmenuitem: the object which received the signal. + +<!-- ##### ARG GtkCheckMenuItem:active ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCheckMenuItem:draw-as-radio ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCheckMenuItem:inconsistent ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkclist.sgml b/docs/reference/gtk/tmpl/gtkclist.sgml index 482b179b18..8b03ce965f 100644 --- a/docs/reference/gtk/tmpl/gtkclist.sgml +++ b/docs/reference/gtk/tmpl/gtkclist.sgml @@ -22,197 +22,6 @@ only private data, and should be accessed only via the CList API. </para> -<!-- ##### SIGNAL GtkCList::abort-column-resize ##### --> -<para> -This signal is emitted when a column resize is aborted. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::click-column ##### --> -<para> -This signal is emitted when a column title is clicked. -</para> - -@clist: The object which received the signal. -@column: The number of the column. - -<!-- ##### SIGNAL GtkCList::end-selection ##### --> -<para> -This signal is emitted when a selection ends in a -multiple selection CList. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::extend-selection ##### --> -<para> -This signal is emitted when the selection is extended. -</para> - -@clist: the object which received the signal. -@scroll_type: A #GtkScrollType value of any scrolling operation the -occured during the selection. -@position: A value between 0.0 and 1.0. -@auto_start_selection: %TRUE or %FALSE. - -<!-- ##### SIGNAL GtkCList::resize-column ##### --> -<para> -This signal is emitted when a column is resized. -</para> - -@clist: The object which received the signal. -@column: The number of the column -@width: The new width of the column. - -<!-- ##### SIGNAL GtkCList::row-move ##### --> -<para> -This signal is emitted when a row is moved. -</para> - -@clist: The object which received the signal. -@arg1: The source position of the row. -@arg2: The destination position of the row. - -<!-- ##### SIGNAL GtkCList::scroll-horizontal ##### --> -<para> -This signal is emitted when the CList is scrolled horizontally. -</para> - -@clist: the object which received the signal. -@scroll_type: A #GtkScrollType value of how the scroll operation occured. -@position: a value between 0.0 and 1.0. - -<!-- ##### SIGNAL GtkCList::scroll-vertical ##### --> -<para> -This signal is emitted when the CList is scrolled vertically. -</para> - -@clist: the object which received the signal. -@scroll_type: A #GtkScrollType value of how the scroll operation occured. -@position: A value between 0.0 and 1.0. - -<!-- ##### SIGNAL GtkCList::select-all ##### --> -<para> -This signal is emitted when all the rows are selected in a CList. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::select-row ##### --> -<para> -This signal is emitted when the user selects a row in the list. -It is emitted for every row that is selected in a multi-selection or -by calling gtk_clist_select_all(). -</para> - -@clist: The object which received the signal. -@row: The row selected. -@column: The column where the selection occured. -@event: A #GdkEvent structure for the selection. - -<!-- ##### SIGNAL GtkCList::set-scroll-adjustments ##### --> -<para> - -</para> - -@clist: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkCList::start-selection ##### --> -<para> -This signal is emitted when a drag-selection is started in -a multiple-selection CList. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::toggle-add-mode ##### --> -<para> -This signal is emitted when "add mode" is toggled. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::toggle-focus-row ##### --> -<para> - -</para> - -@clist: The object which received the signal. - -<!-- ##### SIGNAL GtkCList::undo-selection ##### --> -<para> -This signal is emitted when an undo selection occurs in the CList, -probably via calling gtk_clist_undo_selection(). -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::unselect-all ##### --> -<para> -This signal is emitted when all rows are unselected in a CList. -</para> - -@clist: the object which received the signal. - -<!-- ##### SIGNAL GtkCList::unselect-row ##### --> -<para> -This signal is emitted when the user unselects a row in the list. -It is emitted for every row that is unselected in a multi-selection or -by calling gtk_clist_unselect_all(). It is also emitted for the -previously selected row in a "single" or "browse" mode CList. -</para> - -@clist: The object which received the signal. -@row: The selected row -@column: The column where the selection occured. -@event: - -<!-- ##### ARG GtkCList:n-columns ##### --> -<para> -An integer value for a column. -</para> - -<!-- ##### ARG GtkCList:reorderable ##### --> -<para> -A boolean value for determining if the user can re-order the CList's -columns. -</para> - -<!-- ##### ARG GtkCList:row-height ##### --> -<para> -An integer value representing the height of a row in pixels. -</para> - -<!-- ##### ARG GtkCList:selection-mode ##### --> -<para> -Sets the type of selection mode for the CList. -</para> - -<!-- ##### ARG GtkCList:shadow-type ##### --> -<para> -Sets the shadowing for the CList. -</para> - -<!-- ##### ARG GtkCList:sort-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCList:titles-active ##### --> -<para> -A boolean value for setting whether the column titles can be -clicked. -</para> - -<!-- ##### ARG GtkCList:use-drag-icons ##### --> -<para> -A boolean value for setting whether to use icons during drag -operations. -</para> - <!-- ##### ENUM GtkCellType ##### --> <para> Identifies the type of element in the current cell of the CList. Cells can @@ -1302,3 +1111,194 @@ aspect of the #GtkCList widget. @adjustment: A pointer to a #GtkAdjustment widget, or NULL. +<!-- ##### SIGNAL GtkCList::abort-column-resize ##### --> +<para> +This signal is emitted when a column resize is aborted. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::click-column ##### --> +<para> +This signal is emitted when a column title is clicked. +</para> + +@clist: The object which received the signal. +@column: The number of the column. + +<!-- ##### SIGNAL GtkCList::end-selection ##### --> +<para> +This signal is emitted when a selection ends in a +multiple selection CList. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::extend-selection ##### --> +<para> +This signal is emitted when the selection is extended. +</para> + +@clist: the object which received the signal. +@scroll_type: A #GtkScrollType value of any scrolling operation the +occured during the selection. +@position: A value between 0.0 and 1.0. +@auto_start_selection: %TRUE or %FALSE. + +<!-- ##### SIGNAL GtkCList::resize-column ##### --> +<para> +This signal is emitted when a column is resized. +</para> + +@clist: The object which received the signal. +@column: The number of the column +@width: The new width of the column. + +<!-- ##### SIGNAL GtkCList::row-move ##### --> +<para> +This signal is emitted when a row is moved. +</para> + +@clist: The object which received the signal. +@arg1: The source position of the row. +@arg2: The destination position of the row. + +<!-- ##### SIGNAL GtkCList::scroll-horizontal ##### --> +<para> +This signal is emitted when the CList is scrolled horizontally. +</para> + +@clist: the object which received the signal. +@scroll_type: A #GtkScrollType value of how the scroll operation occured. +@position: a value between 0.0 and 1.0. + +<!-- ##### SIGNAL GtkCList::scroll-vertical ##### --> +<para> +This signal is emitted when the CList is scrolled vertically. +</para> + +@clist: the object which received the signal. +@scroll_type: A #GtkScrollType value of how the scroll operation occured. +@position: A value between 0.0 and 1.0. + +<!-- ##### SIGNAL GtkCList::select-all ##### --> +<para> +This signal is emitted when all the rows are selected in a CList. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::select-row ##### --> +<para> +This signal is emitted when the user selects a row in the list. +It is emitted for every row that is selected in a multi-selection or +by calling gtk_clist_select_all(). +</para> + +@clist: The object which received the signal. +@row: The row selected. +@column: The column where the selection occured. +@event: A #GdkEvent structure for the selection. + +<!-- ##### SIGNAL GtkCList::set-scroll-adjustments ##### --> +<para> + +</para> + +@clist: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkCList::start-selection ##### --> +<para> +This signal is emitted when a drag-selection is started in +a multiple-selection CList. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::toggle-add-mode ##### --> +<para> +This signal is emitted when "add mode" is toggled. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::toggle-focus-row ##### --> +<para> + +</para> + +@clist: The object which received the signal. + +<!-- ##### SIGNAL GtkCList::undo-selection ##### --> +<para> +This signal is emitted when an undo selection occurs in the CList, +probably via calling gtk_clist_undo_selection(). +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::unselect-all ##### --> +<para> +This signal is emitted when all rows are unselected in a CList. +</para> + +@clist: the object which received the signal. + +<!-- ##### SIGNAL GtkCList::unselect-row ##### --> +<para> +This signal is emitted when the user unselects a row in the list. +It is emitted for every row that is unselected in a multi-selection or +by calling gtk_clist_unselect_all(). It is also emitted for the +previously selected row in a "single" or "browse" mode CList. +</para> + +@clist: The object which received the signal. +@row: The selected row +@column: The column where the selection occured. +@event: + +<!-- ##### ARG GtkCList:n-columns ##### --> +<para> +An integer value for a column. +</para> + +<!-- ##### ARG GtkCList:reorderable ##### --> +<para> +A boolean value for determining if the user can re-order the CList's +columns. +</para> + +<!-- ##### ARG GtkCList:row-height ##### --> +<para> +An integer value representing the height of a row in pixels. +</para> + +<!-- ##### ARG GtkCList:selection-mode ##### --> +<para> +Sets the type of selection mode for the CList. +</para> + +<!-- ##### ARG GtkCList:shadow-type ##### --> +<para> +Sets the shadowing for the CList. +</para> + +<!-- ##### ARG GtkCList:sort-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCList:titles-active ##### --> +<para> +A boolean value for setting whether the column titles can be +clicked. +</para> + +<!-- ##### ARG GtkCList:use-drag-icons ##### --> +<para> +A boolean value for setting whether to use icons during drag +operations. +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcolorbutton.sgml b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml index cac76e59b3..ff1217dab6 100644 --- a/docs/reference/gtk/tmpl/gtkcolorbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml @@ -21,33 +21,6 @@ selection dialog to change the color. It is suitable widget for selecting a colo </para> -<!-- ##### SIGNAL GtkColorButton::color-set ##### --> -<para> - -</para> - -@colorbutton: the object which received the signal. - -<!-- ##### ARG GtkColorButton:alpha ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorButton:color ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorButton:title ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorButton:use-alpha ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_color_button_new ##### --> <para> @@ -137,3 +110,30 @@ selection dialog to change the color. It is suitable widget for selecting a colo @Returns: +<!-- ##### SIGNAL GtkColorButton::color-set ##### --> +<para> + +</para> + +@colorbutton: the object which received the signal. + +<!-- ##### ARG GtkColorButton:alpha ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorButton:color ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorButton:title ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorButton:use-alpha ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcolorsel.sgml b/docs/reference/gtk/tmpl/gtkcolorsel.sgml index 844fd5c016..9d02693079 100644 --- a/docs/reference/gtk/tmpl/gtkcolorsel.sgml +++ b/docs/reference/gtk/tmpl/gtkcolorsel.sgml @@ -25,34 +25,6 @@ and should be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkColorSelection::color-changed ##### --> -<para> -This signal is emitted when the color changes in the #GtkColorSelection -according to its update policy. -</para> - -@colorselection: the object which received the signal. - -<!-- ##### ARG GtkColorSelection:current-alpha ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorSelection:current-color ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorSelection:has-opacity-control ##### --> -<para> - -</para> - -<!-- ##### ARG GtkColorSelection:has-palette ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_color_selection_new ##### --> <para> @@ -286,3 +258,31 @@ time. @color: +<!-- ##### SIGNAL GtkColorSelection::color-changed ##### --> +<para> +This signal is emitted when the color changes in the #GtkColorSelection +according to its update policy. +</para> + +@colorselection: the object which received the signal. + +<!-- ##### ARG GtkColorSelection:current-alpha ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorSelection:current-color ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorSelection:has-opacity-control ##### --> +<para> + +</para> + +<!-- ##### ARG GtkColorSelection:has-palette ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcombo.sgml b/docs/reference/gtk/tmpl/gtkcombo.sgml index d1436e337a..30db1ddba9 100644 --- a/docs/reference/gtk/tmpl/gtkcombo.sgml +++ b/docs/reference/gtk/tmpl/gtkcombo.sgml @@ -106,31 +106,6 @@ an application.) @entry: @list: -<!-- ##### ARG GtkCombo:allow-empty ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCombo:case-sensitive ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCombo:enable-arrow-keys ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCombo:enable-arrows-always ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCombo:value-in-list ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_combo_new ##### --> <para> Creates a new #GtkCombo. @@ -220,3 +195,28 @@ instead. @combo: a #GtkCombo. +<!-- ##### ARG GtkCombo:allow-empty ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCombo:case-sensitive ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCombo:enable-arrow-keys ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCombo:enable-arrows-always ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCombo:value-in-list ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcombobox.sgml b/docs/reference/gtk/tmpl/gtkcombobox.sgml index a911d26f9e..4d05ec1096 100644 --- a/docs/reference/gtk/tmpl/gtkcombobox.sgml +++ b/docs/reference/gtk/tmpl/gtkcombobox.sgml @@ -20,43 +20,6 @@ GtkComboBox </para> -<!-- ##### SIGNAL GtkComboBox::changed ##### --> -<para> - -</para> - -@combobox: the object which received the signal. - -<!-- ##### ARG GtkComboBox:active ##### --> -<para> - -</para> - -<!-- ##### ARG GtkComboBox:column-span-column ##### --> -<para> - -</para> - -<!-- ##### ARG GtkComboBox:model ##### --> -<para> - -</para> - -<!-- ##### ARG GtkComboBox:row-span-column ##### --> -<para> - -</para> - -<!-- ##### ARG GtkComboBox:wrap-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkComboBox:appearance ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_combo_box_new ##### --> <para> @@ -156,3 +119,40 @@ GtkComboBox @text: +<!-- ##### SIGNAL GtkComboBox::changed ##### --> +<para> + +</para> + +@combobox: the object which received the signal. + +<!-- ##### ARG GtkComboBox:active ##### --> +<para> + +</para> + +<!-- ##### ARG GtkComboBox:column-span-column ##### --> +<para> + +</para> + +<!-- ##### ARG GtkComboBox:model ##### --> +<para> + +</para> + +<!-- ##### ARG GtkComboBox:row-span-column ##### --> +<para> + +</para> + +<!-- ##### ARG GtkComboBox:wrap-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkComboBox:appearance ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcomboboxentry.sgml b/docs/reference/gtk/tmpl/gtkcomboboxentry.sgml index ad9df47cdf..bb29bdc592 100644 --- a/docs/reference/gtk/tmpl/gtkcomboboxentry.sgml +++ b/docs/reference/gtk/tmpl/gtkcomboboxentry.sgml @@ -20,11 +20,6 @@ GtkComboBoxEntry </para> -<!-- ##### ARG GtkComboBoxEntry:text-column ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_combo_box_entry_new ##### --> <para> @@ -44,3 +39,8 @@ GtkComboBoxEntry @Returns: +<!-- ##### ARG GtkComboBoxEntry:text-column ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcontainer.sgml b/docs/reference/gtk/tmpl/gtkcontainer.sgml index 1651d4147d..d8c13bf31a 100644 --- a/docs/reference/gtk/tmpl/gtkcontainer.sgml +++ b/docs/reference/gtk/tmpl/gtkcontainer.sgml @@ -102,52 +102,6 @@ changes, use gtk_widget_child_notify(). </para> -<!-- ##### SIGNAL GtkContainer::add ##### --> -<para> - -</para> - -@container: the object which received the signal. -@widget: - -<!-- ##### SIGNAL GtkContainer::check-resize ##### --> -<para> - -</para> - -@container: the object which received the signal. - -<!-- ##### SIGNAL GtkContainer::remove ##### --> -<para> - -</para> - -@container: the object which received the signal. -@widget: - -<!-- ##### SIGNAL GtkContainer::set-focus-child ##### --> -<para> - -</para> - -@container: the object which received the signal. -@widget: - -<!-- ##### ARG GtkContainer:border-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkContainer:child ##### --> -<para> - -</para> - -<!-- ##### ARG GtkContainer:resize-mode ##### --> -<para> - -</para> - <!-- ##### MACRO GTK_IS_RESIZE_CONTAINER ##### --> <para> @@ -510,3 +464,49 @@ Does the same as gtk_container_get_children(). @class: +<!-- ##### SIGNAL GtkContainer::add ##### --> +<para> + +</para> + +@container: the object which received the signal. +@widget: + +<!-- ##### SIGNAL GtkContainer::check-resize ##### --> +<para> + +</para> + +@container: the object which received the signal. + +<!-- ##### SIGNAL GtkContainer::remove ##### --> +<para> + +</para> + +@container: the object which received the signal. +@widget: + +<!-- ##### SIGNAL GtkContainer::set-focus-child ##### --> +<para> + +</para> + +@container: the object which received the signal. +@widget: + +<!-- ##### ARG GtkContainer:border-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkContainer:child ##### --> +<para> + +</para> + +<!-- ##### ARG GtkContainer:resize-mode ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkctree.sgml b/docs/reference/gtk/tmpl/gtkctree.sgml index 204d2c64ae..996dcda933 100644 --- a/docs/reference/gtk/tmpl/gtkctree.sgml +++ b/docs/reference/gtk/tmpl/gtkctree.sgml @@ -75,94 +75,6 @@ node.</entry> </para> -<!-- ##### SIGNAL GtkCTree::change-focus-row-expansion ##### --> -<para> -The row which has the focus is either collapsed or expanded -or toggled. -</para> - -@ctree: the object which received the signal. -@expansion: What is being done. - -<!-- ##### SIGNAL GtkCTree::tree-collapse ##### --> -<para> -Emitted when a node is collapsed. -</para> - -@ctree: the object which received the signal. -@node: - -<!-- ##### SIGNAL GtkCTree::tree-expand ##### --> -<para> -Emitted when a node is expanded. -</para> - -@ctree: the object which received the signal. -@node: - -<!-- ##### SIGNAL GtkCTree::tree-move ##### --> -<para> -Emitted when a node is moved. -</para> - -@ctree: the object which received the signal. -@node: The node that is moved. -@new_parent: The new parent of the node. -@new_sibling: The new sibling of the node. - -<!-- ##### SIGNAL GtkCTree::tree-select-row ##### --> -<para> -Emitted when a row is selected. -</para> - -@ctree: the object which received the signal. -@node: The node corresponding to the selected row. -@column: The column which was selected. - -<!-- ##### SIGNAL GtkCTree::tree-unselect-row ##### --> -<para> -Emitted when a node is unselected. -</para> - -@ctree: the object which received the signal. -@node: The node corresponding to the selected row. -@column: - -<!-- ##### ARG GtkCTree:expander-style ##### --> -<para> -The style of the expander buttons. -</para> - -<!-- ##### ARG GtkCTree:indent ##### --> -<para> -The number of pixels to indent the tree levels. -</para> - -<!-- ##### ARG GtkCTree:line-style ##### --> -<para> -The style of the lines in the tree graphic. -</para> - -<!-- ##### ARG GtkCTree:n-columns ##### --> -<para> -The number of columns in the tree. -</para> - -<!-- ##### ARG GtkCTree:show-stub ##### --> -<para> -FIXME -</para> - -<!-- ##### ARG GtkCTree:spacing ##### --> -<para> -The number of pixels between the tree and the columns. -</para> - -<!-- ##### ARG GtkCTree:tree-column ##### --> -<para> -The column in which the actual tree graphic appears. -</para> - <!-- ##### MACRO GTK_CTREE_ROW ##### --> <para> Used to get the #GtkCTreeRow structure corresponding to the given #GtkCTreeNode. @@ -1251,3 +1163,91 @@ criteria etc. @show_stub: +<!-- ##### SIGNAL GtkCTree::change-focus-row-expansion ##### --> +<para> +The row which has the focus is either collapsed or expanded +or toggled. +</para> + +@ctree: the object which received the signal. +@expansion: What is being done. + +<!-- ##### SIGNAL GtkCTree::tree-collapse ##### --> +<para> +Emitted when a node is collapsed. +</para> + +@ctree: the object which received the signal. +@node: + +<!-- ##### SIGNAL GtkCTree::tree-expand ##### --> +<para> +Emitted when a node is expanded. +</para> + +@ctree: the object which received the signal. +@node: + +<!-- ##### SIGNAL GtkCTree::tree-move ##### --> +<para> +Emitted when a node is moved. +</para> + +@ctree: the object which received the signal. +@node: The node that is moved. +@new_parent: The new parent of the node. +@new_sibling: The new sibling of the node. + +<!-- ##### SIGNAL GtkCTree::tree-select-row ##### --> +<para> +Emitted when a row is selected. +</para> + +@ctree: the object which received the signal. +@node: The node corresponding to the selected row. +@column: The column which was selected. + +<!-- ##### SIGNAL GtkCTree::tree-unselect-row ##### --> +<para> +Emitted when a node is unselected. +</para> + +@ctree: the object which received the signal. +@node: The node corresponding to the selected row. +@column: + +<!-- ##### ARG GtkCTree:expander-style ##### --> +<para> +The style of the expander buttons. +</para> + +<!-- ##### ARG GtkCTree:indent ##### --> +<para> +The number of pixels to indent the tree levels. +</para> + +<!-- ##### ARG GtkCTree:line-style ##### --> +<para> +The style of the lines in the tree graphic. +</para> + +<!-- ##### ARG GtkCTree:n-columns ##### --> +<para> +The number of columns in the tree. +</para> + +<!-- ##### ARG GtkCTree:show-stub ##### --> +<para> +FIXME +</para> + +<!-- ##### ARG GtkCTree:spacing ##### --> +<para> +The number of pixels between the tree and the columns. +</para> + +<!-- ##### ARG GtkCTree:tree-column ##### --> +<para> +The column in which the actual tree graphic appears. +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcurve.sgml b/docs/reference/gtk/tmpl/gtkcurve.sgml index 9395dcf8be..674e39ba3f 100644 --- a/docs/reference/gtk/tmpl/gtkcurve.sgml +++ b/docs/reference/gtk/tmpl/gtkcurve.sgml @@ -48,41 +48,6 @@ should be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkCurve::curve-type-changed ##### --> -<para> -Emitted when the curve type has been changed. -The curve type can be changed explicitly with a call to -gtk_curve_set_curve_type(). It is also changed as a side-effect of -calling gtk_curve_reset() or gtk_curve_set_gamma(). -</para> - -@curve: the object which received the signal. - -<!-- ##### ARG GtkCurve:curve-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCurve:max-x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCurve:max-y ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCurve:min-x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkCurve:min-y ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_curve_new ##### --> <para> Creates a new #GtkCurve. @@ -159,3 +124,38 @@ curve will be changed as little as possible. @type: the type of the curve. +<!-- ##### SIGNAL GtkCurve::curve-type-changed ##### --> +<para> +Emitted when the curve type has been changed. +The curve type can be changed explicitly with a call to +gtk_curve_set_curve_type(). It is also changed as a side-effect of +calling gtk_curve_reset() or gtk_curve_set_gamma(). +</para> + +@curve: the object which received the signal. + +<!-- ##### ARG GtkCurve:curve-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCurve:max-x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCurve:max-y ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCurve:min-x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkCurve:min-y ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkdialog.sgml b/docs/reference/gtk/tmpl/gtkdialog.sgml index b6e02e982b..09e1cf873b 100644 --- a/docs/reference/gtk/tmpl/gtkdialog.sgml +++ b/docs/reference/gtk/tmpl/gtkdialog.sgml @@ -140,44 +140,6 @@ as any other #GtkHButtonBox. @vbox: @action_area: -<!-- ##### SIGNAL GtkDialog::close ##### --> -<para> - -</para> - -@dialog: the object which received the signal. - -<!-- ##### SIGNAL GtkDialog::response ##### --> -<para> -Emitted when an action widget is clicked, the dialog receives a delete event, or -the application programmer calls gtk_dialog_response(). On a delete event, the -response ID is #GTK_RESPONSE_NONE. Otherwise, it depends on which action widget -was clicked. -</para> - -@dialog: the object which received the signal. -@arg1: the response ID - -<!-- ##### ARG GtkDialog:has-separator ##### --> -<para> - -</para> - -<!-- ##### ARG GtkDialog:action-area-border ##### --> -<para> - -</para> - -<!-- ##### ARG GtkDialog:button-spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkDialog:content-area-border ##### --> -<para> - -</para> - <!-- ##### ENUM GtkDialogFlags ##### --> <para> @@ -314,3 +276,41 @@ directly, but into the @vbox and @action_area, as described above. @setting: +<!-- ##### SIGNAL GtkDialog::close ##### --> +<para> + +</para> + +@dialog: the object which received the signal. + +<!-- ##### SIGNAL GtkDialog::response ##### --> +<para> +Emitted when an action widget is clicked, the dialog receives a delete event, or +the application programmer calls gtk_dialog_response(). On a delete event, the +response ID is #GTK_RESPONSE_NONE. Otherwise, it depends on which action widget +was clicked. +</para> + +@dialog: the object which received the signal. +@arg1: the response ID + +<!-- ##### ARG GtkDialog:has-separator ##### --> +<para> + +</para> + +<!-- ##### ARG GtkDialog:action-area-border ##### --> +<para> + +</para> + +<!-- ##### ARG GtkDialog:button-spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkDialog:content-area-border ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkeditable.sgml b/docs/reference/gtk/tmpl/gtkeditable.sgml index c999fe84cd..b1b10be105 100644 --- a/docs/reference/gtk/tmpl/gtkeditable.sgml +++ b/docs/reference/gtk/tmpl/gtkeditable.sgml @@ -87,50 +87,6 @@ editable by the user.</entry> </para> -<!-- ##### SIGNAL GtkEditable::changed ##### --> -<para> -Indicates that the user has changed the contents -of the widget. -</para> - -@editable: the object which received the signal. - -<!-- ##### SIGNAL GtkEditable::delete-text ##### --> -<para> -This signal is emitted when text is deleted from -the widget by the user. The default handler for -this signal will normally be responsible for inserting -the text, so by connecting to this signal and then -stopping the signal with gtk_signal_emit_stop(), it -is possible to modify the inserted text, or prevent -it from being inserted entirely. The @start_pos -and @end_pos parameters are interpreted as for -gtk_editable_delete_text() -</para> - -@editable: the object which received the signal. -@start_pos: the starting position. -@end_pos: the end position. - -<!-- ##### SIGNAL GtkEditable::insert-text ##### --> -<para> -This signal is emitted when text is inserted into -the widget by the user. The default handler for -this signal will normally be responsible for inserting -the text, so by connecting to this signal and then -stopping the signal with gtk_signal_emit_stop(), it -is possible to modify the inserted text, or prevent -it from being inserted entirely. -</para> - -@editable: the object which received the signal. -@new_text: the new text to insert. -@new_text_length: the length of the new text. -@position: the position at which to insert the new text. - this is an in-out paramter. After the signal - emission is finished, it should point after - the newly inserted text. - <!-- ##### FUNCTION gtk_editable_select_region ##### --> <para> Selects a region of text. The characters that @@ -291,3 +247,47 @@ widget or not. @Returns: +<!-- ##### SIGNAL GtkEditable::changed ##### --> +<para> +Indicates that the user has changed the contents +of the widget. +</para> + +@editable: the object which received the signal. + +<!-- ##### SIGNAL GtkEditable::delete-text ##### --> +<para> +This signal is emitted when text is deleted from +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. The @start_pos +and @end_pos parameters are interpreted as for +gtk_editable_delete_text() +</para> + +@editable: the object which received the signal. +@start_pos: the starting position. +@end_pos: the end position. + +<!-- ##### SIGNAL GtkEditable::insert-text ##### --> +<para> +This signal is emitted when text is inserted into +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. +</para> + +@editable: the object which received the signal. +@new_text: the new text to insert. +@new_text_length: the length of the new text. +@position: the position at which to insert the new text. + this is an in-out paramter. After the signal + emission is finished, it should point after + the newly inserted text. + diff --git a/docs/reference/gtk/tmpl/gtkentry.sgml b/docs/reference/gtk/tmpl/gtkentry.sgml index cfb42b5b02..0dd3da7768 100644 --- a/docs/reference/gtk/tmpl/gtkentry.sgml +++ b/docs/reference/gtk/tmpl/gtkentry.sgml @@ -31,131 +31,6 @@ The #GtkEntry-struct struct contains only private data. </para> -<!-- ##### SIGNAL GtkEntry::activate ##### --> -<para> - -</para> - -@entry: the object which received the signal. - -<!-- ##### SIGNAL GtkEntry::copy-clipboard ##### --> -<para> - -</para> - -@entry: the object which received the signal. - -<!-- ##### SIGNAL GtkEntry::cut-clipboard ##### --> -<para> - -</para> - -@entry: the object which received the signal. - -<!-- ##### SIGNAL GtkEntry::delete-from-cursor ##### --> -<para> - -</para> - -@entry: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkEntry::insert-at-cursor ##### --> -<para> - -</para> - -@entry: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkEntry::move-cursor ##### --> -<para> - -</para> - -@entry: the object which received the signal. -@arg1: -@arg2: -@arg3: - -<!-- ##### SIGNAL GtkEntry::paste-clipboard ##### --> -<para> - -</para> - -@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 ##### --> -<para> - -</para> - -@entry: the object which received the signal. - -<!-- ##### ARG GtkEntry:activates-default ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:cursor-position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:editable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:has-frame ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:invisible-char ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:max-length ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:scroll-offset ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:selection-bound ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:text ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:visibility ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntry:width-chars ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_entry_new ##### --> <para> Creates a new #GtkEntry widget. @@ -408,3 +283,128 @@ use gtk_editable_set_editable() instead. @Returns: +<!-- ##### SIGNAL GtkEntry::activate ##### --> +<para> + +</para> + +@entry: the object which received the signal. + +<!-- ##### SIGNAL GtkEntry::copy-clipboard ##### --> +<para> + +</para> + +@entry: the object which received the signal. + +<!-- ##### SIGNAL GtkEntry::cut-clipboard ##### --> +<para> + +</para> + +@entry: the object which received the signal. + +<!-- ##### SIGNAL GtkEntry::delete-from-cursor ##### --> +<para> + +</para> + +@entry: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkEntry::insert-at-cursor ##### --> +<para> + +</para> + +@entry: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkEntry::move-cursor ##### --> +<para> + +</para> + +@entry: the object which received the signal. +@arg1: +@arg2: +@arg3: + +<!-- ##### SIGNAL GtkEntry::paste-clipboard ##### --> +<para> + +</para> + +@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 ##### --> +<para> + +</para> + +@entry: the object which received the signal. + +<!-- ##### ARG GtkEntry:activates-default ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:cursor-position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:editable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:has-frame ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:invisible-char ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:max-length ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:scroll-offset ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:selection-bound ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:text ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:visibility ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntry:width-chars ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkentrycompletion.sgml b/docs/reference/gtk/tmpl/gtkentrycompletion.sgml index 57db032772..06fb8ca88f 100644 --- a/docs/reference/gtk/tmpl/gtkentrycompletion.sgml +++ b/docs/reference/gtk/tmpl/gtkentrycompletion.sgml @@ -20,34 +20,6 @@ GtkEntryCompletion </para> -<!-- ##### SIGNAL GtkEntryCompletion::action-activated ##### --> -<para> - -</para> - -@entrycompletion: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkEntryCompletion::match-selected ##### --> -<para> - -</para> - -@entrycompletion: the object which received the signal. -@arg1: -@arg2: -@Returns: - -<!-- ##### ARG GtkEntryCompletion:minimum-key-length ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEntryCompletion:model ##### --> -<para> - -</para> - <!-- ##### USER_FUNCTION GtkEntryCompletionMatchFunc ##### --> <para> @@ -170,3 +142,31 @@ GtkEntryCompletion @column: +<!-- ##### SIGNAL GtkEntryCompletion::action-activated ##### --> +<para> + +</para> + +@entrycompletion: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkEntryCompletion::match-selected ##### --> +<para> + +</para> + +@entrycompletion: the object which received the signal. +@arg1: +@arg2: +@Returns: + +<!-- ##### ARG GtkEntryCompletion:minimum-key-length ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEntryCompletion:model ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkeventbox.sgml b/docs/reference/gtk/tmpl/gtkeventbox.sgml index f5fc0dc4e3..309958a1f3 100644 --- a/docs/reference/gtk/tmpl/gtkeventbox.sgml +++ b/docs/reference/gtk/tmpl/gtkeventbox.sgml @@ -23,16 +23,6 @@ should be accessed using the functions below. </para> -<!-- ##### ARG GtkEventBox:above-child ##### --> -<para> - -</para> - -<!-- ##### ARG GtkEventBox:visible-window ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_event_box_new ##### --> <para> Creates a new #GtkEventBox. @@ -77,3 +67,13 @@ Creates a new #GtkEventBox. @Returns: +<!-- ##### ARG GtkEventBox:above-child ##### --> +<para> + +</para> + +<!-- ##### ARG GtkEventBox:visible-window ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkexpander.sgml b/docs/reference/gtk/tmpl/gtkexpander.sgml index 1fef30256f..cb4869b86b 100644 --- a/docs/reference/gtk/tmpl/gtkexpander.sgml +++ b/docs/reference/gtk/tmpl/gtkexpander.sgml @@ -21,48 +21,6 @@ the triangles used in a #GtkTreeView. </para> -<!-- ##### SIGNAL GtkExpander::activate ##### --> -<para> - -</para> - -@expander: the object which received the signal. - -<!-- ##### ARG GtkExpander:expanded ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:label-widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:use-underline ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:expander-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkExpander:expander-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_expander_new ##### --> <para> @@ -171,3 +129,45 @@ the triangles used in a #GtkTreeView. @Returns: +<!-- ##### SIGNAL GtkExpander::activate ##### --> +<para> + +</para> + +@expander: the object which received the signal. + +<!-- ##### ARG GtkExpander:expanded ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:label-widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:use-underline ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:expander-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkExpander:expander-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkfilechooser.sgml b/docs/reference/gtk/tmpl/gtkfilechooser.sgml index f989347e6a..b4a45cd9c0 100644 --- a/docs/reference/gtk/tmpl/gtkfilechooser.sgml +++ b/docs/reference/gtk/tmpl/gtkfilechooser.sgml @@ -467,3 +467,31 @@ End: --> +<!-- ##### SIGNAL GtkFileChooser::current-folder-changed ##### --> +<para> + +</para> + +@filechooser: the object which received the signal. + +<!-- ##### SIGNAL GtkFileChooser::file-activated ##### --> +<para> + +</para> + +@filechooser: the object which received the signal. + +<!-- ##### SIGNAL GtkFileChooser::selection-changed ##### --> +<para> + +</para> + +@filechooser: the object which received the signal. + +<!-- ##### SIGNAL GtkFileChooser::update-preview ##### --> +<para> + +</para> + +@filechooser: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkfilesel.sgml b/docs/reference/gtk/tmpl/gtkfilesel.sgml index d4f25ad4db..bcf06fdbe4 100644 --- a/docs/reference/gtk/tmpl/gtkfilesel.sgml +++ b/docs/reference/gtk/tmpl/gtkfilesel.sgml @@ -140,21 +140,6 @@ The #GtkFileSelection struct contains the following #GtkWidget fields: @button_area: @action_area: -<!-- ##### ARG GtkFileSelection:filename ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFileSelection:select-multiple ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFileSelection:show-fileops ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_file_selection_new ##### --> <para> Creates a new file selection dialog box. By default it will contain a #GtkTreeView of the application's current working directory, and a file listing. Operation buttons that allow the user to create a directory, delete files and rename files, are also present. @@ -235,3 +220,18 @@ Hides the file operation buttons that normally appear at the top of the dialog. @Returns: +<!-- ##### ARG GtkFileSelection:filename ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFileSelection:select-multiple ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFileSelection:show-fileops ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkfixed.sgml b/docs/reference/gtk/tmpl/gtkfixed.sgml index 28cba109fa..a4f686b0aa 100644 --- a/docs/reference/gtk/tmpl/gtkfixed.sgml +++ b/docs/reference/gtk/tmpl/gtkfixed.sgml @@ -84,16 +84,6 @@ their positions.</entry> </para> -<!-- ##### ARG GtkFixed:x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFixed:y ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkFixedChild ##### --> <para> The #GtkFixedChild-struct struct contains the following fields. @@ -176,3 +166,13 @@ Moves a child of a #GtkFixed container to the given position. @has_window: +<!-- ##### ARG GtkFixed:x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFixed:y ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkfontbutton.sgml b/docs/reference/gtk/tmpl/gtkfontbutton.sgml index abad175f2c..641e3a010c 100644 --- a/docs/reference/gtk/tmpl/gtkfontbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkfontbutton.sgml @@ -21,43 +21,6 @@ dialog to change the font. It is suitable widget for selecting a font in a prefe </para> -<!-- ##### SIGNAL GtkFontButton::font-set ##### --> -<para> - -</para> - -@fontbutton: the object which received the signal. - -<!-- ##### ARG GtkFontButton:font-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontButton:show-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontButton:show-style ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontButton:title ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontButton:use-font ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontButton:use-size ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_font_button_new ##### --> <para> @@ -184,3 +147,40 @@ dialog to change the font. It is suitable widget for selecting a font in a prefe @Returns: +<!-- ##### SIGNAL GtkFontButton::font-set ##### --> +<para> + +</para> + +@fontbutton: the object which received the signal. + +<!-- ##### ARG GtkFontButton:font-name ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontButton:show-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontButton:show-style ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontButton:title ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontButton:use-font ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontButton:use-size ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkfontsel.sgml b/docs/reference/gtk/tmpl/gtkfontsel.sgml index 477a23a95a..ab9854e620 100644 --- a/docs/reference/gtk/tmpl/gtkfontsel.sgml +++ b/docs/reference/gtk/tmpl/gtkfontsel.sgml @@ -52,21 +52,6 @@ only be accessed using the functions below. </para> -<!-- ##### ARG GtkFontSelection:font ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontSelection:font-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFontSelection:preview-text ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_font_selection_new ##### --> <para> Creates a new #GtkFontSelection. @@ -122,3 +107,18 @@ Sets the text displayed in the preview area. @text: the text to display in the preview area. +<!-- ##### ARG GtkFontSelection:font ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontSelection:font-name ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFontSelection:preview-text ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkframe.sgml b/docs/reference/gtk/tmpl/gtkframe.sgml index fe897e1511..b1ea262cd0 100644 --- a/docs/reference/gtk/tmpl/gtkframe.sgml +++ b/docs/reference/gtk/tmpl/gtkframe.sgml @@ -24,36 +24,6 @@ label can be controlled with gtk_frame_set_label_align(). </para> -<!-- ##### ARG GtkFrame:label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFrame:label-widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFrame:label-xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFrame:label-yalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFrame:shadow ##### --> -<para> - -</para> - -<!-- ##### ARG GtkFrame:shadow-type ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_frame_new ##### --> <para> Create a new Frame, with optional label @label. @@ -145,3 +115,33 @@ Set the shadow type for the Frame widget. @Returns: +<!-- ##### ARG GtkFrame:label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFrame:label-widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFrame:label-xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFrame:label-yalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFrame:shadow ##### --> +<para> + +</para> + +<!-- ##### ARG GtkFrame:shadow-type ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkhandlebox.sgml b/docs/reference/gtk/tmpl/gtkhandlebox.sgml index 55a595c171..a00c8127ac 100644 --- a/docs/reference/gtk/tmpl/gtkhandlebox.sgml +++ b/docs/reference/gtk/tmpl/gtkhandlebox.sgml @@ -77,53 +77,6 @@ child is attached or detached.</entry> </para> -<!-- ##### SIGNAL GtkHandleBox::child-attached ##### --> -<para> -This signal is emitted when the contents of the -handlebox are reattached to the main window. -</para> - -@handlebox: the object which received the signal. -@widget: the child widget of the handlebox. - (this argument provides no extra information - and is here only for backwards-compatibility) - -<!-- ##### SIGNAL GtkHandleBox::child-detached ##### --> -<para> -This signal is emitted when the contents of the -handlebox are detached from the main window. -</para> - -@handlebox: the object which received the signal. -@widget: the child widget of the handlebox. - (this argument provides no extra information - and is here only for backwards-compatibility) - -<!-- ##### ARG GtkHandleBox:handle-position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkHandleBox:shadow ##### --> -<para> - -</para> - -<!-- ##### ARG GtkHandleBox:shadow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkHandleBox:snap-edge ##### --> -<para> - -</para> - -<!-- ##### ARG GtkHandleBox:snap-edge-set ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_handle_box_new ##### --> <para> Create a new handle box. @@ -202,3 +155,50 @@ in the future. @Returns: +<!-- ##### SIGNAL GtkHandleBox::child-attached ##### --> +<para> +This signal is emitted when the contents of the +handlebox are reattached to the main window. +</para> + +@handlebox: the object which received the signal. +@widget: the child widget of the handlebox. + (this argument provides no extra information + and is here only for backwards-compatibility) + +<!-- ##### SIGNAL GtkHandleBox::child-detached ##### --> +<para> +This signal is emitted when the contents of the +handlebox are detached from the main window. +</para> + +@handlebox: the object which received the signal. +@widget: the child widget of the handlebox. + (this argument provides no extra information + and is here only for backwards-compatibility) + +<!-- ##### ARG GtkHandleBox:handle-position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkHandleBox:shadow ##### --> +<para> + +</para> + +<!-- ##### ARG GtkHandleBox:shadow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkHandleBox:snap-edge ##### --> +<para> + +</para> + +<!-- ##### ARG GtkHandleBox:snap-edge-set ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkicontheme.sgml b/docs/reference/gtk/tmpl/gtkicontheme.sgml index 16d85910c7..5eb7f3dd40 100644 --- a/docs/reference/gtk/tmpl/gtkicontheme.sgml +++ b/docs/reference/gtk/tmpl/gtkicontheme.sgml @@ -118,13 +118,6 @@ gtk_icon_theme_set_custom_theme(). </para> -<!-- ##### SIGNAL GtkIconTheme::changed ##### --> -<para> - -</para> - -@icontheme: the object which received the signal. - <!-- ##### ENUM GtkIconLookupFlags ##### --> <para> @@ -396,3 +389,10 @@ gtk_icon_theme_set_custom_theme(). @Returns: +<!-- ##### SIGNAL GtkIconTheme::changed ##### --> +<para> + +</para> + +@icontheme: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkimage.sgml b/docs/reference/gtk/tmpl/gtkimage.sgml index f94ddcbb9e..51a5e6d12e 100644 --- a/docs/reference/gtk/tmpl/gtkimage.sgml +++ b/docs/reference/gtk/tmpl/gtkimage.sgml @@ -108,56 +108,6 @@ below. </para> -<!-- ##### ARG GtkImage:file ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:icon-set ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:icon-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:image ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:mask ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:pixbuf ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:pixbuf-animation ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:pixmap ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:stock ##### --> -<para> - -</para> - -<!-- ##### ARG GtkImage:storage-type ##### --> -<para> - -</para> - <!-- ##### ENUM GtkImageType ##### --> <para> Describes the image data representation used by a #GtkImage. If you @@ -409,3 +359,53 @@ Gets the #GtkImage. @mask: a #GdkBitmap that indicates which parts of the image should be transparent. +<!-- ##### ARG GtkImage:file ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:icon-set ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:icon-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:image ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:mask ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:pixbuf ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:pixbuf-animation ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:pixmap ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:stock ##### --> +<para> + +</para> + +<!-- ##### ARG GtkImage:storage-type ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml b/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml index 91aa18eeb2..d9c35fb722 100644 --- a/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml +++ b/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml @@ -24,11 +24,6 @@ fill in the text label. </para> -<!-- ##### ARG GtkImageMenuItem:image ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_image_menu_item_set_image ##### --> <para> @@ -86,3 +81,8 @@ fill in the text label. @Returns: +<!-- ##### ARG GtkImageMenuItem:image ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkimcontext.sgml b/docs/reference/gtk/tmpl/gtkimcontext.sgml index c9d81d8bd1..c85cf1fdd6 100644 --- a/docs/reference/gtk/tmpl/gtkimcontext.sgml +++ b/docs/reference/gtk/tmpl/gtkimcontext.sgml @@ -20,53 +20,6 @@ Base class for input method contexts </para> -<!-- ##### SIGNAL GtkIMContext::commit ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkIMContext::delete-surrounding ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. -@arg1: -@arg2: -@Returns: - -<!-- ##### SIGNAL GtkIMContext::preedit-changed ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. - -<!-- ##### SIGNAL GtkIMContext::preedit-end ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. - -<!-- ##### SIGNAL GtkIMContext::preedit-start ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. - -<!-- ##### SIGNAL GtkIMContext::retrieve-surrounding ##### --> -<para> - -</para> - -@imcontext: the object which received the signal. -@Returns: - <!-- ##### FUNCTION gtk_im_context_set_client_window ##### --> <para> @@ -172,3 +125,50 @@ Base class for input method contexts @Returns: +<!-- ##### SIGNAL GtkIMContext::commit ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkIMContext::delete-surrounding ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. +@arg1: +@arg2: +@Returns: + +<!-- ##### SIGNAL GtkIMContext::preedit-changed ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. + +<!-- ##### SIGNAL GtkIMContext::preedit-end ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. + +<!-- ##### SIGNAL GtkIMContext::preedit-start ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. + +<!-- ##### SIGNAL GtkIMContext::retrieve-surrounding ##### --> +<para> + +</para> + +@imcontext: the object which received the signal. +@Returns: + diff --git a/docs/reference/gtk/tmpl/gtkinputdialog.sgml b/docs/reference/gtk/tmpl/gtkinputdialog.sgml index bf5210516a..436f014e0f 100644 --- a/docs/reference/gtk/tmpl/gtkinputdialog.sgml +++ b/docs/reference/gtk/tmpl/gtkinputdialog.sgml @@ -43,6 +43,14 @@ immediately. </para> +<!-- ##### FUNCTION gtk_input_dialog_new ##### --> +<para> +Creates a new #GtkInputDialog. +</para> + +@Returns: the new #GtkInputDialog. + + <!-- ##### SIGNAL GtkInputDialog::disable-device ##### --> <para> This signal is emitted when the user changes the @@ -63,11 +71,3 @@ mode of a device from #GDK_MODE_DISABLED to a @inputdialog: the object which received the signal. @deviceid: The ID of the newly enabled device. -<!-- ##### FUNCTION gtk_input_dialog_new ##### --> -<para> -Creates a new #GtkInputDialog. -</para> - -@Returns: the new #GtkInputDialog. - - diff --git a/docs/reference/gtk/tmpl/gtkinvisible.sgml b/docs/reference/gtk/tmpl/gtkinvisible.sgml index 95718df86d..d8d138bee0 100644 --- a/docs/reference/gtk/tmpl/gtkinvisible.sgml +++ b/docs/reference/gtk/tmpl/gtkinvisible.sgml @@ -25,11 +25,6 @@ The #GtkInvisible-struct struct contains no public fields. </para> -<!-- ##### ARG GtkInvisible:screen ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_invisible_new ##### --> <para> </para> @@ -64,3 +59,8 @@ The #GtkInvisible-struct struct contains no public fields. @Returns: +<!-- ##### ARG GtkInvisible:screen ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkitem.sgml b/docs/reference/gtk/tmpl/gtkitem.sgml index 8964eb09bd..f800623b3a 100644 --- a/docs/reference/gtk/tmpl/gtkitem.sgml +++ b/docs/reference/gtk/tmpl/gtkitem.sgml @@ -22,27 +22,6 @@ should be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkItem::deselect ##### --> -<para> -Emitted when the item is deselected. -</para> - -@item: the object which received the signal. - -<!-- ##### SIGNAL GtkItem::select ##### --> -<para> -Emitted when the item is selected. -</para> - -@item: the object which received the signal. - -<!-- ##### SIGNAL GtkItem::toggle ##### --> -<para> -Emitted when the item is toggled. -</para> - -@item: the object which received the signal. - <!-- ##### FUNCTION gtk_item_select ##### --> <para> Emits the "select" signal on the given item. @@ -67,3 +46,24 @@ Emits the "toggle" signal on the given item. @item: a #GtkItem. +<!-- ##### SIGNAL GtkItem::deselect ##### --> +<para> +Emitted when the item is deselected. +</para> + +@item: the object which received the signal. + +<!-- ##### SIGNAL GtkItem::select ##### --> +<para> +Emitted when the item is selected. +</para> + +@item: the object which received the signal. + +<!-- ##### SIGNAL GtkItem::toggle ##### --> +<para> +Emitted when the item is toggled. +</para> + +@item: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtklabel.sgml b/docs/reference/gtk/tmpl/gtklabel.sgml index 9272fdeb05..638268e18f 100644 --- a/docs/reference/gtk/tmpl/gtklabel.sgml +++ b/docs/reference/gtk/tmpl/gtklabel.sgml @@ -145,91 +145,6 @@ described below. </para> -<!-- ##### SIGNAL GtkLabel::copy-clipboard ##### --> -<para> - -</para> - -@label: the object which received the signal. - -<!-- ##### SIGNAL GtkLabel::move-cursor ##### --> -<para> - -</para> - -@label: the object which received the signal. -@arg1: -@arg2: -@arg3: - -<!-- ##### SIGNAL GtkLabel::populate-popup ##### --> -<para> - -</para> - -@label: the object which received the signal. -@arg1: - -<!-- ##### ARG GtkLabel:attributes ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:cursor-position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:justify ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:mnemonic-keyval ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:mnemonic-widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:pattern ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:selectable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:selection-bound ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:use-markup ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:use-underline ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLabel:wrap ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_label_new ##### --> <para> @@ -531,3 +446,88 @@ Gtk+ 1.0.x. @setting: +<!-- ##### SIGNAL GtkLabel::copy-clipboard ##### --> +<para> + +</para> + +@label: the object which received the signal. + +<!-- ##### SIGNAL GtkLabel::move-cursor ##### --> +<para> + +</para> + +@label: the object which received the signal. +@arg1: +@arg2: +@arg3: + +<!-- ##### SIGNAL GtkLabel::populate-popup ##### --> +<para> + +</para> + +@label: the object which received the signal. +@arg1: + +<!-- ##### ARG GtkLabel:attributes ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:cursor-position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:justify ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:mnemonic-keyval ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:mnemonic-widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:pattern ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:selectable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:selection-bound ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:use-markup ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:use-underline ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLabel:wrap ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtklayout.sgml b/docs/reference/gtk/tmpl/gtklayout.sgml index 6870889a99..24c2107310 100644 --- a/docs/reference/gtk/tmpl/gtklayout.sgml +++ b/docs/reference/gtk/tmpl/gtklayout.sgml @@ -34,45 +34,6 @@ area. @bin_window: -<!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### --> -<para> - -</para> - -@layout: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### ARG GtkLayout:hadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLayout:height ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLayout:vadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLayout:width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLayout:x ##### --> -<para> - -</para> - -<!-- ##### ARG GtkLayout:y ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_layout_new ##### --> <para> @@ -181,3 +142,42 @@ area. @adjustment: +<!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### --> +<para> + +</para> + +@layout: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### ARG GtkLayout:hadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLayout:height ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLayout:vadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLayout:width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLayout:x ##### --> +<para> + +</para> + +<!-- ##### ARG GtkLayout:y ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtklist.sgml b/docs/reference/gtk/tmpl/gtklist.sgml index 37c9cbb4ed..6655883315 100644 --- a/docs/reference/gtk/tmpl/gtklist.sgml +++ b/docs/reference/gtk/tmpl/gtklist.sgml @@ -35,34 +35,6 @@ type.</para></listitem> </para> -<!-- ##### SIGNAL GtkList::select-child ##### --> -<para> -The child @widget has just been selected. -</para> - -@list: the object which received the signal. -@widget: the newly selected child. - -<!-- ##### SIGNAL GtkList::selection-changed ##### --> -<para> -The selection of the widget has just changed. -</para> - -@list: the object which received the signal. - -<!-- ##### SIGNAL GtkList::unselect-child ##### --> -<para> -The child @widget has just been unselected. -</para> - -@list: the object which received the signal. -@widget: the newly unselected child. - -<!-- ##### ARG GtkList:selection-mode ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_list_new ##### --> <para> Creates a new #GtkList. @@ -360,3 +332,31 @@ effect if a drag selection is not active. @list: the list widget. +<!-- ##### SIGNAL GtkList::select-child ##### --> +<para> +The child @widget has just been selected. +</para> + +@list: the object which received the signal. +@widget: the newly selected child. + +<!-- ##### SIGNAL GtkList::selection-changed ##### --> +<para> +The selection of the widget has just changed. +</para> + +@list: the object which received the signal. + +<!-- ##### SIGNAL GtkList::unselect-child ##### --> +<para> +The child @widget has just been unselected. +</para> + +@list: the object which received the signal. +@widget: the newly unselected child. + +<!-- ##### ARG GtkList:selection-mode ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtklistitem.sgml b/docs/reference/gtk/tmpl/gtklistitem.sgml index 0682386b1e..9009e0ff36 100644 --- a/docs/reference/gtk/tmpl/gtklistitem.sgml +++ b/docs/reference/gtk/tmpl/gtklistitem.sgml @@ -30,6 +30,42 @@ only be accessed using the functions below. </para> +<!-- ##### FUNCTION gtk_list_item_new ##### --> +<para> +Creates a new #GtkListitem. +</para> + +@Returns: a new #GtkListItem. + + +<!-- ##### FUNCTION gtk_list_item_new_with_label ##### --> +<para> +Creates a new #GtkListItem with a child label containing the given string. +</para> + +@label: the string to use for the child label. +@Returns: a new #GtkListItem with a child #GtkLabel with the text set to +@label. + + +<!-- ##### FUNCTION gtk_list_item_select ##### --> +<para> +Selects the item, by emitting the item's "select" signal. +Depending on the selection mode of the list, this may cause other items to +be deselected. +</para> + +@list_item: a #GtkListItem. + + +<!-- ##### FUNCTION gtk_list_item_deselect ##### --> +<para> +Deselects the item, by emitting the item's "deselect" signal. +</para> + +@list_item: a #GtkListItem. + + <!-- ##### SIGNAL GtkListItem::end-selection ##### --> <para> @@ -107,39 +143,3 @@ only be accessed using the functions below. @listitem: the object which received the signal. -<!-- ##### FUNCTION gtk_list_item_new ##### --> -<para> -Creates a new #GtkListitem. -</para> - -@Returns: a new #GtkListItem. - - -<!-- ##### FUNCTION gtk_list_item_new_with_label ##### --> -<para> -Creates a new #GtkListItem with a child label containing the given string. -</para> - -@label: the string to use for the child label. -@Returns: a new #GtkListItem with a child #GtkLabel with the text set to -@label. - - -<!-- ##### FUNCTION gtk_list_item_select ##### --> -<para> -Selects the item, by emitting the item's "select" signal. -Depending on the selection mode of the list, this may cause other items to -be deselected. -</para> - -@list_item: a #GtkListItem. - - -<!-- ##### FUNCTION gtk_list_item_deselect ##### --> -<para> -Deselects the item, by emitting the item's "deselect" signal. -</para> - -@list_item: a #GtkListItem. - - diff --git a/docs/reference/gtk/tmpl/gtkmenu.sgml b/docs/reference/gtk/tmpl/gtkmenu.sgml index 1b5614ef09..7c94065f03 100644 --- a/docs/reference/gtk/tmpl/gtkmenu.sgml +++ b/docs/reference/gtk/tmpl/gtkmenu.sgml @@ -83,54 +83,6 @@ should be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkMenu::move-scroll ##### --> -<para> - -</para> - -@menu: the object which received the signal. -@arg1: - -<!-- ##### ARG GtkMenu:tearoff-title ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:bottom-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:left-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:right-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:top-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:horizontal-offset ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:vertical-offset ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenu:vertical-padding ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_menu_new ##### --> <para> Creates a new #GtkMenu. @@ -388,3 +340,51 @@ will be called when the menu is later detached from the widget. @menu: the #GtkMenu being detached. +<!-- ##### SIGNAL GtkMenu::move-scroll ##### --> +<para> + +</para> + +@menu: the object which received the signal. +@arg1: + +<!-- ##### ARG GtkMenu:tearoff-title ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:bottom-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:left-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:right-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:top-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:horizontal-offset ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:vertical-offset ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenu:vertical-padding ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkmenubar.sgml b/docs/reference/gtk/tmpl/gtkmenubar.sgml index fca557f76a..16b3972408 100644 --- a/docs/reference/gtk/tmpl/gtkmenubar.sgml +++ b/docs/reference/gtk/tmpl/gtkmenubar.sgml @@ -20,16 +20,6 @@ The #GtkMenuBar struct contains the following fields. (These fields should be co </para> -<!-- ##### ARG GtkMenuBar:internal-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenuBar:shadow-type ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_menu_bar_new ##### --> <para> Creates the new #GtkMenuBar @@ -74,3 +64,13 @@ Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position @position: the position in the item list where the @child is added. +<!-- ##### ARG GtkMenuBar:internal-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenuBar:shadow-type ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkmenuitem.sgml b/docs/reference/gtk/tmpl/gtkmenuitem.sgml index 90b8c7ff92..c016367fb0 100644 --- a/docs/reference/gtk/tmpl/gtkmenuitem.sgml +++ b/docs/reference/gtk/tmpl/gtkmenuitem.sgml @@ -39,57 +39,6 @@ only a few are really useful. </para> -<!-- ##### SIGNAL GtkMenuItem::activate ##### --> -<para> -Emitted when the item is activated. -</para> - -@menuitem: the object which received the signal. - -<!-- ##### SIGNAL GtkMenuItem::activate-item ##### --> -<para> -Emitted when the item is activated, but also if the menu item has a -submenu. For normal applications, the relevant signal is "activate". -</para> - -@menuitem: the object which received the signal. - -<!-- ##### SIGNAL GtkMenuItem::toggle-size-allocate ##### --> -<para> - -</para> - -@menuitem: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkMenuItem::toggle-size-request ##### --> -<para> - -</para> - -@menuitem: the object which received the signal. -@arg1: - -<!-- ##### ARG GtkMenuItem:arrow-spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenuItem:horizontal-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenuItem:selected-shadow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMenuItem:toggle-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_menu_item_new ##### --> <para> Creates a new #GtkMenuItem. @@ -221,3 +170,54 @@ Sets the menu item to be right-justified. Only useful for menu bars. @Returns: +<!-- ##### SIGNAL GtkMenuItem::activate ##### --> +<para> +Emitted when the item is activated. +</para> + +@menuitem: the object which received the signal. + +<!-- ##### SIGNAL GtkMenuItem::activate-item ##### --> +<para> +Emitted when the item is activated, but also if the menu item has a +submenu. For normal applications, the relevant signal is "activate". +</para> + +@menuitem: the object which received the signal. + +<!-- ##### SIGNAL GtkMenuItem::toggle-size-allocate ##### --> +<para> + +</para> + +@menuitem: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkMenuItem::toggle-size-request ##### --> +<para> + +</para> + +@menuitem: the object which received the signal. +@arg1: + +<!-- ##### ARG GtkMenuItem:arrow-spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenuItem:horizontal-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenuItem:selected-shadow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMenuItem:toggle-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkmenushell.sgml b/docs/reference/gtk/tmpl/gtkmenushell.sgml index 9e08cab8ab..e5009d44be 100644 --- a/docs/reference/gtk/tmpl/gtkmenushell.sgml +++ b/docs/reference/gtk/tmpl/gtkmenushell.sgml @@ -41,55 +41,6 @@ an application.) </para> -<!-- ##### SIGNAL GtkMenuShell::activate-current ##### --> -<para> -An action signal that activates the current menu item within the menu -shell. -</para> - -@menushell: the object which received the signal. -@force_hide: if TRUE, hide the menu after activating the menu item. - -<!-- ##### SIGNAL GtkMenuShell::cancel ##### --> -<para> -An action signal which cancels the selection within the menu shell. -Causes the GtkMenuShell::selection-done signal to be emitted. -</para> - -@menushell: the object which received the signal. - -<!-- ##### SIGNAL GtkMenuShell::cycle-focus ##### --> -<para> - -</para> - -@menushell: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkMenuShell::deactivate ##### --> -<para> -This signal is emitted when a menu shell is deactivated. -</para> - -@menushell: the object which received the signal. - -<!-- ##### SIGNAL GtkMenuShell::move-current ##### --> -<para> -An action signal which moves the current menu item in the direction -specified by @direction. -</para> - -@menushell: the object which received the signal. -@direction: the direction to move. - -<!-- ##### SIGNAL GtkMenuShell::selection-done ##### --> -<para> -This signal is emitted when a selection has been completed within a menu -shell. -</para> - -@menushell: the object which received the signal. - <!-- ##### FUNCTION gtk_menu_shell_append ##### --> <para> Adds a new #GtkMenuItem to the end of the menu shell's item list. @@ -202,3 +153,52 @@ An enumeration representing directional movements within a menu. @GTK_MENU_DIR_NEXT: @GTK_MENU_DIR_PREV: +<!-- ##### SIGNAL GtkMenuShell::activate-current ##### --> +<para> +An action signal that activates the current menu item within the menu +shell. +</para> + +@menushell: the object which received the signal. +@force_hide: if TRUE, hide the menu after activating the menu item. + +<!-- ##### SIGNAL GtkMenuShell::cancel ##### --> +<para> +An action signal which cancels the selection within the menu shell. +Causes the GtkMenuShell::selection-done signal to be emitted. +</para> + +@menushell: the object which received the signal. + +<!-- ##### SIGNAL GtkMenuShell::cycle-focus ##### --> +<para> + +</para> + +@menushell: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkMenuShell::deactivate ##### --> +<para> +This signal is emitted when a menu shell is deactivated. +</para> + +@menushell: the object which received the signal. + +<!-- ##### SIGNAL GtkMenuShell::move-current ##### --> +<para> +An action signal which moves the current menu item in the direction +specified by @direction. +</para> + +@menushell: the object which received the signal. +@direction: the direction to move. + +<!-- ##### SIGNAL GtkMenuShell::selection-done ##### --> +<para> +This signal is emitted when a selection has been completed within a menu +shell. +</para> + +@menushell: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkmessagedialog.sgml b/docs/reference/gtk/tmpl/gtkmessagedialog.sgml index e93eb22f54..a3a0adff72 100644 --- a/docs/reference/gtk/tmpl/gtkmessagedialog.sgml +++ b/docs/reference/gtk/tmpl/gtkmessagedialog.sgml @@ -64,21 +64,6 @@ You might do a non-modal #GtkMessageDialog as follows: </para> -<!-- ##### ARG GtkMessageDialog:buttons ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMessageDialog:message-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMessageDialog:message-border ##### --> -<para> - -</para> - <!-- ##### ENUM GtkMessageType ##### --> <para> The type of message being displayed in the dialog. @@ -131,3 +116,18 @@ then call gtk_dialog_add_buttons(). @Returns: +<!-- ##### ARG GtkMessageDialog:buttons ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMessageDialog:message-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMessageDialog:message-border ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkmisc.sgml b/docs/reference/gtk/tmpl/gtkmisc.sgml index 5a7ac4cf53..2658825465 100644 --- a/docs/reference/gtk/tmpl/gtkmisc.sgml +++ b/docs/reference/gtk/tmpl/gtkmisc.sgml @@ -60,26 +60,6 @@ in pixels.</entry> </para> -<!-- ##### ARG GtkMisc:xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMisc:xpad ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMisc:yalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkMisc:ypad ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_misc_set_alignment ##### --> <para> Sets the alignment of the widget. @@ -122,3 +102,23 @@ in pixels. @ypad: +<!-- ##### ARG GtkMisc:xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMisc:xpad ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMisc:yalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkMisc:ypad ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtknotebook.sgml b/docs/reference/gtk/tmpl/gtknotebook.sgml index d2f35c20c6..69bb714914 100644 --- a/docs/reference/gtk/tmpl/gtknotebook.sgml +++ b/docs/reference/gtk/tmpl/gtknotebook.sgml @@ -36,151 +36,6 @@ will be a popup menu allowing the users to switch pages. </para> -<!-- ##### SIGNAL GtkNotebook::change-current-page ##### --> -<para> - -</para> - -@notebook: the object which received the signal. -@arg1: -<!-- # Unused Parameters # --> -@Returns: - -<!-- ##### SIGNAL GtkNotebook::focus-tab ##### --> -<para> - -</para> - -@notebook: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkNotebook::move-focus-out ##### --> -<para> - -</para> - -@notebook: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkNotebook::select-page ##### --> -<para> - -</para> - -@notebook: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkNotebook::switch-page ##### --> -<para> -Emitted when the user or a function changes the current page. -</para> - -@notebook: the object which received the signal. -@page: the new current page -@page_num: the index of the page - -<!-- ##### ARG GtkNotebook:enable-popup ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:homogeneous ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:page ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:scrollable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:show-border ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:show-tabs ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-border ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-hborder ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-pos ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-vborder ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:menu-label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-expand ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-fill ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:tab-pack ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:has-backward-stepper ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:has-forward-stepper ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:has-secondary-backward-stepper ##### --> -<para> - -</para> - -<!-- ##### ARG GtkNotebook:has-secondary-forward-stepper ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkNotebookPage ##### --> <para> The #GtkNotebookPage is an opaque implementation detail of #GtkNotebook. @@ -554,3 +409,148 @@ gtk_notebook_set_current_page() instead. @page_num: +<!-- ##### SIGNAL GtkNotebook::change-current-page ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +<!-- # Unused Parameters # --> +@Returns: + +<!-- ##### SIGNAL GtkNotebook::focus-tab ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkNotebook::move-focus-out ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkNotebook::select-page ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkNotebook::switch-page ##### --> +<para> +Emitted when the user or a function changes the current page. +</para> + +@notebook: the object which received the signal. +@page: the new current page +@page_num: the index of the page + +<!-- ##### ARG GtkNotebook:enable-popup ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:homogeneous ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:page ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:scrollable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:show-border ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:show-tabs ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-border ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-hborder ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-pos ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-vborder ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:menu-label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-expand ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-fill ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-pack ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:has-backward-stepper ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:has-forward-stepper ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:has-secondary-backward-stepper ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:has-secondary-forward-stepper ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkobject.sgml b/docs/reference/gtk/tmpl/gtkobject.sgml index 301d5552a3..0987193e58 100644 --- a/docs/reference/gtk/tmpl/gtkobject.sgml +++ b/docs/reference/gtk/tmpl/gtkobject.sgml @@ -98,20 +98,6 @@ The object itself. You should never use these members directly - </para> -<!-- ##### SIGNAL GtkObject::destroy ##### --> -<para> -Signals that all holders of a reference to the #GtkObject should release -the reference that they hold. May result in finalization of the object -if all references are released. -</para> - -@object: the object which received the signal. - -<!-- ##### ARG GtkObject:user-data ##### --> -<para> - -</para> - <!-- ##### MACRO GTK_OBJECT_TYPE ##### --> <para> Gets the type of an object. @@ -511,3 +497,17 @@ Useless deprecated macro. Ignore it. +<!-- ##### SIGNAL GtkObject::destroy ##### --> +<para> +Signals that all holders of a reference to the #GtkObject should release +the reference that they hold. May result in finalization of the object +if all references are released. +</para> + +@object: the object which received the signal. + +<!-- ##### ARG GtkObject:user-data ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkoldeditable.sgml b/docs/reference/gtk/tmpl/gtkoldeditable.sgml index af5afafb3c..5dbcaef198 100644 --- a/docs/reference/gtk/tmpl/gtkoldeditable.sgml +++ b/docs/reference/gtk/tmpl/gtkoldeditable.sgml @@ -24,6 +24,33 @@ Base class for text-editing widgets @selection_end_pos: @has_selection: +<!-- ##### USER_FUNCTION GtkTextFunction ##### --> +<para> + +</para> + +@editable: +@time_: + + +<!-- ##### FUNCTION gtk_old_editable_claim_selection ##### --> +<para> + +</para> + +@old_editable: +@claim: +@time_: + + +<!-- ##### FUNCTION gtk_old_editable_changed ##### --> +<para> + +</para> + +@old_editable: + + <!-- ##### SIGNAL GtkOldEditable::activate ##### --> <para> @@ -136,30 +163,3 @@ Base class for text-editing widgets </para> -<!-- ##### USER_FUNCTION GtkTextFunction ##### --> -<para> - -</para> - -@editable: -@time_: - - -<!-- ##### FUNCTION gtk_old_editable_claim_selection ##### --> -<para> - -</para> - -@old_editable: -@claim: -@time_: - - -<!-- ##### FUNCTION gtk_old_editable_changed ##### --> -<para> - -</para> - -@old_editable: - - diff --git a/docs/reference/gtk/tmpl/gtkoptionmenu.sgml b/docs/reference/gtk/tmpl/gtkoptionmenu.sgml index c2cf8f8528..f648d70a87 100644 --- a/docs/reference/gtk/tmpl/gtkoptionmenu.sgml +++ b/docs/reference/gtk/tmpl/gtkoptionmenu.sgml @@ -32,28 +32,6 @@ should be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkOptionMenu::changed ##### --> -<para> - -</para> - -@optionmenu: the object which received the signal. - -<!-- ##### ARG GtkOptionMenu:menu ##### --> -<para> - -</para> - -<!-- ##### ARG GtkOptionMenu:indicator-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkOptionMenu:indicator-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_option_menu_new ##### --> <para> Creates a new #GtkOptionMenu. @@ -110,3 +88,25 @@ selected value for the option menu. @Returns: +<!-- ##### SIGNAL GtkOptionMenu::changed ##### --> +<para> + +</para> + +@optionmenu: the object which received the signal. + +<!-- ##### ARG GtkOptionMenu:menu ##### --> +<para> + +</para> + +<!-- ##### ARG GtkOptionMenu:indicator-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkOptionMenu:indicator-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkpaned.sgml b/docs/reference/gtk/tmpl/gtkpaned.sgml index 77e11444ca..0845dc727d 100644 --- a/docs/reference/gtk/tmpl/gtkpaned.sgml +++ b/docs/reference/gtk/tmpl/gtkpaned.sgml @@ -73,82 +73,6 @@ gtk_widget_set_size_request (frame2, 50, -1); </para> -<!-- ##### SIGNAL GtkPaned::accept-position ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkPaned::cancel-position ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkPaned::cycle-child-focus ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkPaned::cycle-handle-focus ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkPaned::move-handle ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkPaned::toggle-handle-focus ##### --> -<para> - -</para> - -@paned: the object which received the signal. -@Returns: - -<!-- ##### ARG GtkPaned:position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkPaned:position-set ##### --> -<para> - -</para> - -<!-- ##### ARG GtkPaned:resize ##### --> -<para> - -</para> - -<!-- ##### ARG GtkPaned:shrink ##### --> -<para> - -</para> - -<!-- ##### ARG GtkPaned:handle-size ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_paned_add1 ##### --> <para> Adds a child to the top or left pane with @@ -230,3 +154,79 @@ gutter (the area between the two panes). It does nothing now. @Returns: +<!-- ##### SIGNAL GtkPaned::accept-position ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkPaned::cancel-position ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkPaned::cycle-child-focus ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkPaned::cycle-handle-focus ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkPaned::move-handle ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkPaned::toggle-handle-focus ##### --> +<para> + +</para> + +@paned: the object which received the signal. +@Returns: + +<!-- ##### ARG GtkPaned:position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkPaned:position-set ##### --> +<para> + +</para> + +<!-- ##### ARG GtkPaned:resize ##### --> +<para> + +</para> + +<!-- ##### ARG GtkPaned:shrink ##### --> +<para> + +</para> + +<!-- ##### ARG GtkPaned:handle-size ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkplug.sgml b/docs/reference/gtk/tmpl/gtkplug.sgml index 3f5d754c22..8bb496e4c5 100644 --- a/docs/reference/gtk/tmpl/gtkplug.sgml +++ b/docs/reference/gtk/tmpl/gtkplug.sgml @@ -34,13 +34,6 @@ inside the first applications window. </para> -<!-- ##### SIGNAL GtkPlug::embedded ##### --> -<para> - -</para> - -@plug: the object which received the signal. - <!-- ##### FUNCTION gtk_plug_construct ##### --> <para> </para> @@ -86,3 +79,10 @@ inside the first applications window. @Returns: +<!-- ##### SIGNAL GtkPlug::embedded ##### --> +<para> + +</para> + +@plug: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkpreview.sgml b/docs/reference/gtk/tmpl/gtkpreview.sgml index e0560a79cc..e20db705bd 100644 --- a/docs/reference/gtk/tmpl/gtkpreview.sgml +++ b/docs/reference/gtk/tmpl/gtkpreview.sgml @@ -32,11 +32,6 @@ should be accessed using the functions below. </para> -<!-- ##### ARG GtkPreview:expand ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkPreviewInfo ##### --> <para> Contains information about global properties @@ -260,3 +255,8 @@ once used for changing the colormap and visual on the fly. +<!-- ##### ARG GtkPreview:expand ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkprogress.sgml b/docs/reference/gtk/tmpl/gtkprogress.sgml index 57dc846e11..9b418531e8 100644 --- a/docs/reference/gtk/tmpl/gtkprogress.sgml +++ b/docs/reference/gtk/tmpl/gtkprogress.sgml @@ -23,26 +23,6 @@ and should be accessed using the functions below. </para> -<!-- ##### ARG GtkProgress:activity-mode ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgress:show-text ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgress:text-xalign ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgress:text-yalign ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_progress_set_show_text ##### --> <para> Controls whether progress text is shown. @@ -207,3 +187,23 @@ the #GtkProgress. @max: the maximum progress value. +<!-- ##### ARG GtkProgress:activity-mode ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgress:show-text ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgress:text-xalign ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgress:text-yalign ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkprogressbar.sgml b/docs/reference/gtk/tmpl/gtkprogressbar.sgml index c86e50ef9e..250d2d604f 100644 --- a/docs/reference/gtk/tmpl/gtkprogressbar.sgml +++ b/docs/reference/gtk/tmpl/gtkprogressbar.sgml @@ -63,51 +63,6 @@ and should be accessed using the functions below. </para> -<!-- ##### ARG GtkProgressBar:activity-blocks ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:activity-step ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:adjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:bar-style ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:discrete-blocks ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:fraction ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:orientation ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:pulse-step ##### --> -<para> - -</para> - -<!-- ##### ARG GtkProgressBar:text ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_progress_bar_new ##### --> <para> Creates a new #GtkProgressBar. @@ -276,3 +231,48 @@ gtk_progress_set_percentage() instead. @percentage: the new percent complete value. +<!-- ##### ARG GtkProgressBar:activity-blocks ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:activity-step ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:adjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:bar-style ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:discrete-blocks ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:fraction ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:orientation ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:pulse-step ##### --> +<para> + +</para> + +<!-- ##### ARG GtkProgressBar:text ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkradioaction.sgml b/docs/reference/gtk/tmpl/gtkradioaction.sgml index c32924d4da..41dc3e67ae 100644 --- a/docs/reference/gtk/tmpl/gtkradioaction.sgml +++ b/docs/reference/gtk/tmpl/gtkradioaction.sgml @@ -23,19 +23,6 @@ only private members and should not be accessed directly. </para> -<!-- ##### SIGNAL GtkRadioAction::changed ##### --> -<para> - -</para> - -@radioaction: the object which received the signal. -@arg1: - -<!-- ##### ARG GtkRadioAction:value ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_radio_action_get_group ##### --> <para> @@ -63,3 +50,16 @@ only private members and should not be accessed directly. @Returns: +<!-- ##### SIGNAL GtkRadioAction::changed ##### --> +<para> + +</para> + +@radioaction: the object which received the signal. +@arg1: + +<!-- ##### ARG GtkRadioAction:value ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkradiobutton.sgml b/docs/reference/gtk/tmpl/gtkradiobutton.sgml index e2bfbc1a15..57379a23b2 100644 --- a/docs/reference/gtk/tmpl/gtkradiobutton.sgml +++ b/docs/reference/gtk/tmpl/gtkradiobutton.sgml @@ -91,11 +91,6 @@ functions below. </para> -<!-- ##### ARG GtkRadioButton:group ##### --> -<para> -Sets a new group for a radio button. -</para> - <!-- ##### FUNCTION gtk_radio_button_new ##### --> <para> Creates a new #GtkRadioButton. To be of any practical value, a widget should @@ -188,3 +183,8 @@ Retrieves the group assigned to a radio button. as @radio_button. +<!-- ##### ARG GtkRadioButton:group ##### --> +<para> +Sets a new group for a radio button. +</para> + diff --git a/docs/reference/gtk/tmpl/gtkrange.sgml b/docs/reference/gtk/tmpl/gtkrange.sgml index ea7f8c4440..20a5ca4115 100644 --- a/docs/reference/gtk/tmpl/gtkrange.sgml +++ b/docs/reference/gtk/tmpl/gtkrange.sgml @@ -20,78 +20,61 @@ Base class for widgets which visualize an adjustment </para> -<!-- ##### SIGNAL GtkRange::adjust-bounds ##### --> +<!-- ##### FUNCTION gtk_range_get_adjustment ##### --> <para> </para> -@range: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkRange::move-slider ##### --> -<para> -Virtual function that moves the slider. Used for keybindings. -</para> +@range: +@Returns: -@range: the #GtkRange -@arg1: -<!-- # Unused Parameters # --> -@step: how to move the slider -@arg2: -<!-- ##### SIGNAL GtkRange::value-changed ##### --> +<!-- ##### FUNCTION gtk_range_set_update_policy ##### --> <para> -Emitted when the range value changes. -</para> -@range: the #GtkRange +</para> -<!-- ##### ARG GtkRange:adjustment ##### --> -<para> +@range: +@policy: -</para> -<!-- ##### ARG GtkRange:inverted ##### --> +<!-- ##### FUNCTION gtk_range_set_adjustment ##### --> <para> </para> -<!-- ##### ARG GtkRange:update-policy ##### --> -<para> +@range: +@adjustment: -</para> -<!-- ##### ARG GtkRange:arrow-displacement-x ##### --> +<!-- ##### FUNCTION gtk_range_get_inverted ##### --> <para> </para> -<!-- ##### ARG GtkRange:arrow-displacement-y ##### --> -<para> +@range: +@Returns: -</para> -<!-- ##### ARG GtkRange:slider-width ##### --> +<!-- ##### FUNCTION gtk_range_set_inverted ##### --> <para> </para> -<!-- ##### ARG GtkRange:stepper-size ##### --> -<para> +@range: +@setting: -</para> -<!-- ##### ARG GtkRange:stepper-spacing ##### --> +<!-- ##### FUNCTION gtk_range_get_update_policy ##### --> <para> </para> -<!-- ##### ARG GtkRange:trough-border ##### --> -<para> +@range: +@Returns: -</para> -<!-- ##### FUNCTION gtk_range_get_adjustment ##### --> +<!-- ##### FUNCTION gtk_range_get_value ##### --> <para> </para> @@ -100,86 +83,103 @@ Emitted when the range value changes. @Returns: -<!-- ##### FUNCTION gtk_range_set_update_policy ##### --> +<!-- ##### FUNCTION gtk_range_set_increments ##### --> <para> </para> @range: -@policy: +@step: +@page: -<!-- ##### FUNCTION gtk_range_set_adjustment ##### --> +<!-- ##### FUNCTION gtk_range_set_range ##### --> <para> </para> @range: -@adjustment: +@min: +@max: -<!-- ##### FUNCTION gtk_range_get_inverted ##### --> +<!-- ##### FUNCTION gtk_range_set_value ##### --> <para> </para> @range: -@Returns: +@value: -<!-- ##### FUNCTION gtk_range_set_inverted ##### --> +<!-- ##### SIGNAL GtkRange::adjust-bounds ##### --> <para> </para> -@range: -@setting: - +@range: the object which received the signal. +@arg1: -<!-- ##### FUNCTION gtk_range_get_update_policy ##### --> +<!-- ##### SIGNAL GtkRange::move-slider ##### --> <para> +Virtual function that moves the slider. Used for keybindings. +</para> + +@range: the #GtkRange +@arg1: +<!-- # Unused Parameters # --> +@step: how to move the slider +@arg2: +<!-- ##### SIGNAL GtkRange::value-changed ##### --> +<para> +Emitted when the range value changes. </para> -@range: -@Returns: +@range: the #GtkRange + +<!-- ##### ARG GtkRange:adjustment ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_range_get_value ##### --> +<!-- ##### ARG GtkRange:inverted ##### --> <para> </para> -@range: -@Returns: +<!-- ##### ARG GtkRange:update-policy ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_range_set_increments ##### --> +<!-- ##### ARG GtkRange:arrow-displacement-x ##### --> <para> </para> -@range: -@step: -@page: +<!-- ##### ARG GtkRange:arrow-displacement-y ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_range_set_range ##### --> +<!-- ##### ARG GtkRange:slider-width ##### --> <para> </para> -@range: -@min: -@max: +<!-- ##### ARG GtkRange:stepper-size ##### --> +<para> +</para> -<!-- ##### FUNCTION gtk_range_set_value ##### --> +<!-- ##### ARG GtkRange:stepper-spacing ##### --> <para> </para> -@range: -@value: +<!-- ##### ARG GtkRange:trough-border ##### --> +<para> +</para> diff --git a/docs/reference/gtk/tmpl/gtkruler.sgml b/docs/reference/gtk/tmpl/gtkruler.sgml index 65ba06bc20..e18e026fdb 100644 --- a/docs/reference/gtk/tmpl/gtkruler.sgml +++ b/docs/reference/gtk/tmpl/gtkruler.sgml @@ -37,26 +37,6 @@ points are really 1/72.27 in.) </para> -<!-- ##### ARG GtkRuler:lower ##### --> -<para> - -</para> - -<!-- ##### ARG GtkRuler:max-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkRuler:position ##### --> -<para> - -</para> - -<!-- ##### ARG GtkRuler:upper ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkRulerMetric ##### --> <para> This should be points_per_unit. This is the size of the unit in 1/72nd's of an inch and has nothing to do with screen pixels. @@ -112,3 +92,23 @@ This sets the range of the ruler using gfloat lower, gfloat upper, gfloat positi @max_size: +<!-- ##### ARG GtkRuler:lower ##### --> +<para> + +</para> + +<!-- ##### ARG GtkRuler:max-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkRuler:position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkRuler:upper ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkscale.sgml b/docs/reference/gtk/tmpl/gtkscale.sgml index 351ae89b11..8935f1164b 100644 --- a/docs/reference/gtk/tmpl/gtkscale.sgml +++ b/docs/reference/gtk/tmpl/gtkscale.sgml @@ -50,55 +50,6 @@ slider.</entry> </para> -<!-- ##### SIGNAL GtkScale::format-value ##### --> -<para> -Signal which allows you to change how the scale value is displayed. Connect a -signal handler which returns an allocated string representing @value. -That string will then be used to display the scale's value. -Here's an example signal handler which displays a value 1.0 as -with "-->1.0<--". -<informalexample><programlisting> -static gchar* -format_value_callback (GtkScale *scale, - gdouble value) -{ - return g_strdup_printf ("-->%0.*g<--", - gtk_scale_get_digits (scale), value); -} -</programlisting></informalexample> -</para> - -@scale: the object which received the signal. -@arg1: -@Returns: allocated string representing @value -<!-- # Unused Parameters # --> -@value: value to format - -<!-- ##### ARG GtkScale:digits ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScale:draw-value ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScale:value-pos ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScale:slider-length ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScale:value-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_scale_set_digits ##### --> <para> Sets the number of decimal places that are displayed in the value. Also causes @@ -158,3 +109,52 @@ Gets the position in which the current value is displayed. @Returns: the position in which the current value is displayed. +<!-- ##### SIGNAL GtkScale::format-value ##### --> +<para> +Signal which allows you to change how the scale value is displayed. Connect a +signal handler which returns an allocated string representing @value. +That string will then be used to display the scale's value. +Here's an example signal handler which displays a value 1.0 as +with "-->1.0<--". +<informalexample><programlisting> +static gchar* +format_value_callback (GtkScale *scale, + gdouble value) +{ + return g_strdup_printf ("-->%0.*g<--", + gtk_scale_get_digits (scale), value); +} +</programlisting></informalexample> +</para> + +@scale: the object which received the signal. +@arg1: +@Returns: allocated string representing @value +<!-- # Unused Parameters # --> +@value: value to format + +<!-- ##### ARG GtkScale:digits ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScale:draw-value ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScale:value-pos ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScale:slider-length ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScale:value-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml b/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml index ced33698c7..d93ec9fcbf 100644 --- a/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml +++ b/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml @@ -75,58 +75,6 @@ only be accessed using the functions below. </para> -<!-- ##### SIGNAL GtkScrolledWindow::move-focus-out ##### --> -<para> - -</para> - -@scrolledwindow: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkScrolledWindow::scroll-child ##### --> -<para> - -</para> - -@scrolledwindow: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### ARG GtkScrolledWindow:hadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:hscrollbar-policy ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:shadow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:vadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:vscrollbar-policy ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:window-placement ##### --> -<para> - -</para> - -<!-- ##### ARG GtkScrolledWindow:scrollbar-spacing ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_scrolled_window_new ##### --> <para> Creates a new scrolled window. The two arguments are the scrolled @@ -277,3 +225,55 @@ Sets the #GtkAdjustment for the vertical scrollbar. @Returns: +<!-- ##### SIGNAL GtkScrolledWindow::move-focus-out ##### --> +<para> + +</para> + +@scrolledwindow: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkScrolledWindow::scroll-child ##### --> +<para> + +</para> + +@scrolledwindow: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### ARG GtkScrolledWindow:hadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:hscrollbar-policy ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:shadow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:vadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:vscrollbar-policy ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:window-placement ##### --> +<para> + +</para> + +<!-- ##### ARG GtkScrolledWindow:scrollbar-spacing ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkseparatortoolitem.sgml b/docs/reference/gtk/tmpl/gtkseparatortoolitem.sgml index 167d49e474..a9a9d4ffd6 100644 --- a/docs/reference/gtk/tmpl/gtkseparatortoolitem.sgml +++ b/docs/reference/gtk/tmpl/gtkseparatortoolitem.sgml @@ -11,6 +11,11 @@ A toolbar item that separates groups of other toolbar items. often look like a vertical line on horizontally docked toolbars. </para> <para> +If the property "expand" is #TRUE and the property "draw" is #FALSE, a +#GtkSeparatorToolItem will act as a "spring" that forces other items +to the ends of the toolbar. +</para> +<para> Use gtk_separator_tool_item_new() to create a new #GtkSeparatorToolItem. </para> @@ -44,3 +49,8 @@ should only be accessed through the functions described below. @Returns: +<!-- ##### ARG GtkSeparatorToolItem:draw ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtksettings.sgml b/docs/reference/gtk/tmpl/gtksettings.sgml index e15fd0393d..6cdd80f7fc 100644 --- a/docs/reference/gtk/tmpl/gtksettings.sgml +++ b/docs/reference/gtk/tmpl/gtksettings.sgml @@ -20,101 +20,6 @@ Sharing settings between applications </para> -<!-- ##### ARG GtkSettings:gtk-can-change-accels ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-color-palette ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-cursor-blink ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-cursor-blink-time ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-dnd-drag-threshold ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-double-click-time ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-entry-select-on-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-font-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-icon-sizes ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-icon-theme-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-key-theme-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-menu-bar-accel ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-menu-bar-popup-delay ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-menu-popdown-delay ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-menu-popup-delay ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-split-cursor ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-theme-name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-toolbar-icon-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSettings:gtk-toolbar-style ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkSettingsValue ##### --> <para> diff --git a/docs/reference/gtk/tmpl/gtksizegroup.sgml b/docs/reference/gtk/tmpl/gtksizegroup.sgml index d55f35cec0..c8c99710ee 100644 --- a/docs/reference/gtk/tmpl/gtksizegroup.sgml +++ b/docs/reference/gtk/tmpl/gtksizegroup.sgml @@ -56,11 +56,6 @@ reached from the widget by a chain of size groups of type </para> -<!-- ##### ARG GtkSizeGroup:mode ##### --> -<para> - -</para> - <!-- ##### ENUM GtkSizeGroupMode ##### --> <para> @@ -118,3 +113,8 @@ reached from the widget by a chain of size groups of type @widget: +<!-- ##### ARG GtkSizeGroup:mode ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtksocket.sgml b/docs/reference/gtk/tmpl/gtksocket.sgml index fa45e8aaea..7bb277802b 100644 --- a/docs/reference/gtk/tmpl/gtksocket.sgml +++ b/docs/reference/gtk/tmpl/gtksocket.sgml @@ -100,28 +100,6 @@ never be set by an application.) </para> -<!-- ##### 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. - -<!-- ##### 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. - <!-- ##### FUNCTION gtk_socket_new ##### --> <para> </para> @@ -157,3 +135,25 @@ reuse it you must add a signal handler that returns %TRUE. @Returns: +<!-- ##### 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. + +<!-- ##### 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. + diff --git a/docs/reference/gtk/tmpl/gtkspinbutton.sgml b/docs/reference/gtk/tmpl/gtkspinbutton.sgml index a9fba39929..88a3426747 100644 --- a/docs/reference/gtk/tmpl/gtkspinbutton.sgml +++ b/docs/reference/gtk/tmpl/gtkspinbutton.sgml @@ -104,83 +104,6 @@ and should only be modified using the functions below. </para> -<!-- ##### SIGNAL GtkSpinButton::change-value ##### --> -<para> - -</para> - -@spinbutton: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkSpinButton::input ##### --> -<para> - -</para> - -@spinbutton: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkSpinButton::output ##### --> -<para> - -</para> - -@spinbutton: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkSpinButton::value-changed ##### --> -<para> - -</para> - -@spinbutton: the object which received the signal. - -<!-- ##### ARG GtkSpinButton:adjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:climb-rate ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:digits ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:numeric ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:snap-to-ticks ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:update-policy ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:value ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:wrap ##### --> -<para> - -</para> - -<!-- ##### ARG GtkSpinButton:shadow-type ##### --> -<para> -the type of border that surrounds the arrows of a spin button. -</para> - <!-- ##### ENUM GtkSpinButtonUpdatePolicy ##### --> <para> @@ -478,3 +401,80 @@ use gtk_spin_button_get_value() instead. +<!-- ##### SIGNAL GtkSpinButton::change-value ##### --> +<para> + +</para> + +@spinbutton: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkSpinButton::input ##### --> +<para> + +</para> + +@spinbutton: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkSpinButton::output ##### --> +<para> + +</para> + +@spinbutton: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkSpinButton::value-changed ##### --> +<para> + +</para> + +@spinbutton: the object which received the signal. + +<!-- ##### ARG GtkSpinButton:adjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:climb-rate ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:digits ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:numeric ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:snap-to-ticks ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:update-policy ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:value ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:wrap ##### --> +<para> + +</para> + +<!-- ##### ARG GtkSpinButton:shadow-type ##### --> +<para> +the type of border that surrounds the arrows of a spin button. +</para> + diff --git a/docs/reference/gtk/tmpl/gtkstatusbar.sgml b/docs/reference/gtk/tmpl/gtkstatusbar.sgml index f6f490857b..6c58b77771 100644 --- a/docs/reference/gtk/tmpl/gtkstatusbar.sgml +++ b/docs/reference/gtk/tmpl/gtkstatusbar.sgml @@ -52,34 +52,6 @@ Contains private data that should be modified with the functions described below </para> -<!-- ##### SIGNAL GtkStatusbar::text-popped ##### --> -<para> -Is emitted whenever a new message is popped off a statusbar's stack. -</para> - -@statusbar: the object which received the signal. -@context_id: the context id of the relevant message/statusbar. -@text: the message that was just popped. - -<!-- ##### SIGNAL GtkStatusbar::text-pushed ##### --> -<para> -Is emitted whenever a new message gets pushed onto a statusbar's stack. -</para> - -@statusbar: the object which received the signal. -@context_id: the context id of the relevant message/statusbar. -@text: the message that was pushed. - -<!-- ##### ARG GtkStatusbar:has-resize-grip ##### --> -<para> - -</para> - -<!-- ##### ARG GtkStatusbar:shadow-type ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_statusbar_new ##### --> <para> Creates a new #GtkStatusbar ready for messages. @@ -148,3 +120,31 @@ Returns whether the statusbar has a resize grip. @Returns: %TRUE if the statusbar has a resize grip. +<!-- ##### SIGNAL GtkStatusbar::text-popped ##### --> +<para> +Is emitted whenever a new message is popped off a statusbar's stack. +</para> + +@statusbar: the object which received the signal. +@context_id: the context id of the relevant message/statusbar. +@text: the message that was just popped. + +<!-- ##### SIGNAL GtkStatusbar::text-pushed ##### --> +<para> +Is emitted whenever a new message gets pushed onto a statusbar's stack. +</para> + +@statusbar: the object which received the signal. +@context_id: the context id of the relevant message/statusbar. +@text: the message that was pushed. + +<!-- ##### ARG GtkStatusbar:has-resize-grip ##### --> +<para> + +</para> + +<!-- ##### ARG GtkStatusbar:shadow-type ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktable.sgml b/docs/reference/gtk/tmpl/gtktable.sgml index d2c380a425..c3b93d9267 100644 --- a/docs/reference/gtk/tmpl/gtktable.sgml +++ b/docs/reference/gtk/tmpl/gtktable.sgml @@ -55,71 +55,6 @@ The <structname>GtkTable</structname> structure holds the data for the actual ta </para> -<!-- ##### ARG GtkTable:column-spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:homogeneous ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:n-columns ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:n-rows ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:row-spacing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:bottom-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:left-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:right-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:top-attach ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:x-options ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:x-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:y-options ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTable:y-padding ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkTableChild ##### --> <para> The <structfield>widget</structfield> field is a pointer to the widget that @@ -316,3 +251,68 @@ to %FALSE if this is not your desired behaviour. @Returns: +<!-- ##### ARG GtkTable:column-spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:homogeneous ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:n-columns ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:n-rows ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:row-spacing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:bottom-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:left-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:right-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:top-attach ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:x-options ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:x-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:y-options ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTable:y-padding ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktext.sgml b/docs/reference/gtk/tmpl/gtktext.sgml index 3559a2513d..fc83784f91 100644 --- a/docs/reference/gtk/tmpl/gtktext.sgml +++ b/docs/reference/gtk/tmpl/gtktext.sgml @@ -30,37 +30,6 @@ Listed below are a few exceptions and how to use them. </para> -<!-- ##### SIGNAL GtkText::set-scroll-adjustments ##### --> -<para> - -</para> - -@text: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### ARG GtkText:hadjustment ##### --> -<para> -Used by the #GtkText widget to keep track of the size of its horizontal -text. -</para> - -<!-- ##### ARG GtkText:line-wrap ##### --> -<para> -Boolean value indicating whether line wrap is enabled or not. -</para> - -<!-- ##### ARG GtkText:vadjustment ##### --> -<para> -Used by the #GtkText widget to keep track of the size of its vertical -text. -</para> - -<!-- ##### ARG GtkText:word-wrap ##### --> -<para> -Boolean value indicated whether word wrap is enabled or not. -</para> - <!-- ##### STRUCT GtkTextFont ##### --> <para> Internal #GtkText data type. @@ -233,3 +202,34 @@ Returns the character at the given index within the #GtkText widget. @index: the number of characters from the upper left corner +<!-- ##### SIGNAL GtkText::set-scroll-adjustments ##### --> +<para> + +</para> + +@text: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### ARG GtkText:hadjustment ##### --> +<para> +Used by the #GtkText widget to keep track of the size of its horizontal +text. +</para> + +<!-- ##### ARG GtkText:line-wrap ##### --> +<para> +Boolean value indicating whether line wrap is enabled or not. +</para> + +<!-- ##### ARG GtkText:vadjustment ##### --> +<para> +Used by the #GtkText widget to keep track of the size of its vertical +text. +</para> + +<!-- ##### ARG GtkText:word-wrap ##### --> +<para> +Boolean value indicated whether word wrap is enabled or not. +</para> + diff --git a/docs/reference/gtk/tmpl/gtktextbuffer.sgml b/docs/reference/gtk/tmpl/gtktextbuffer.sgml index fcd641f8a9..44ee0a1753 100644 --- a/docs/reference/gtk/tmpl/gtktextbuffer.sgml +++ b/docs/reference/gtk/tmpl/gtktextbuffer.sgml @@ -29,115 +29,6 @@ types related to the text widget and how they work together. </para> -<!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: -@arg3: - -<!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. - -<!-- ##### SIGNAL GtkTextBuffer::changed ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. - -<!-- ##### SIGNAL GtkTextBuffer::delete-range ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. - -<!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextBuffer::insert-text ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: -@arg3: -<!-- # Unused Parameters # --> -@arg4: - -<!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextBuffer::mark-set ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. - -<!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### --> -<para> - -</para> - -@textbuffer: the object which received the signal. -@arg1: -@arg2: -@arg3: - -<!-- ##### ARG GtkTextBuffer:tag-table ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_text_buffer_new ##### --> <para> @@ -737,3 +628,112 @@ types related to the text widget and how they work together. @clipboard: +<!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: +@arg3: + +<!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. + +<!-- ##### SIGNAL GtkTextBuffer::changed ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. + +<!-- ##### SIGNAL GtkTextBuffer::delete-range ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. + +<!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextBuffer::insert-text ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: +@arg3: +<!-- # Unused Parameters # --> +@arg4: + +<!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextBuffer::mark-set ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. + +<!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### --> +<para> + +</para> + +@textbuffer: the object which received the signal. +@arg1: +@arg2: +@arg3: + +<!-- ##### ARG GtkTextBuffer:tag-table ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktexttag.sgml b/docs/reference/gtk/tmpl/gtktexttag.sgml index c806b513a8..dd5f871a59 100644 --- a/docs/reference/gtk/tmpl/gtktexttag.sgml +++ b/docs/reference/gtk/tmpl/gtktexttag.sgml @@ -38,6 +38,146 @@ planned to be implemented in future releases. </para> +<!-- ##### ENUM GtkWrapMode ##### --> +<para> +Describes a type of line wrapping. +</para> + +@GTK_WRAP_NONE: do not wrap lines; just make the text area wider +@GTK_WRAP_CHAR: wrap text, breaking lines anywhere the cursor can + appear (between characters, usually - if you want to + be technical, between graphemes, see + pango_get_log_attrs()) +@GTK_WRAP_WORD: wrap text, breaking lines in between words +@GTK_WRAP_WORD_CHAR: wrap text, breaking lines in between words, or if + that is not enough, also between graphemes. + +<!-- ##### STRUCT GtkTextAttributes ##### --> +<para> +Using #GtkTextAttributes directly should rarely be necessary. It's +primarily useful with gtk_text_iter_get_attributes(). As with most +GTK+ structs, the fields in this struct should only be read, never +modified directly. +</para> + +@appearance: pointer to sub-struct containing certain attributes +@justification: +@direction: +@font: +@font_scale: +@left_margin: +@indent: +@right_margin: +@pixels_above_lines: +@pixels_below_lines: +@pixels_inside_wrap: +@tabs: +@wrap_mode: +@language: +@invisible: +@bg_full_height: +@editable: +@realized: + +<!-- ##### FUNCTION gtk_text_tag_new ##### --> +<para> + +</para> + +@name: +@Returns: + + +<!-- ##### FUNCTION gtk_text_tag_get_priority ##### --> +<para> + +</para> + +@tag: +@Returns: + + +<!-- ##### FUNCTION gtk_text_tag_set_priority ##### --> +<para> + +</para> + +@tag: +@priority: + + +<!-- ##### FUNCTION gtk_text_tag_event ##### --> +<para> + +</para> + +@tag: +@event_object: +@event: +@iter: +@Returns: + + +<!-- ##### STRUCT GtkTextAppearance ##### --> +<para> + +</para> + +@bg_color: +@fg_color: +@bg_stipple: +@fg_stipple: +@rise: +@underline: +@strikethrough: +@draw_bg: +@inside_selection: +@is_text: + +<!-- ##### FUNCTION gtk_text_attributes_new ##### --> +<para> + +</para> + +@Returns: + + +<!-- ##### FUNCTION gtk_text_attributes_copy ##### --> +<para> + +</para> + +@src: +@Returns: +<!-- # Unused Parameters # --> +@dest: + + +<!-- ##### FUNCTION gtk_text_attributes_copy_values ##### --> +<para> + +</para> + +@src: +@dest: + + +<!-- ##### FUNCTION gtk_text_attributes_unref ##### --> +<para> + +</para> + +@values: + + +<!-- ##### FUNCTION gtk_text_attributes_ref ##### --> +<para> + +</para> + +@values: + + <!-- ##### SIGNAL GtkTextTag::event ##### --> <para> @@ -354,143 +494,3 @@ planned to be implemented in future releases. </para> -<!-- ##### ENUM GtkWrapMode ##### --> -<para> -Describes a type of line wrapping. -</para> - -@GTK_WRAP_NONE: do not wrap lines; just make the text area wider -@GTK_WRAP_CHAR: wrap text, breaking lines anywhere the cursor can - appear (between characters, usually - if you want to - be technical, between graphemes, see - pango_get_log_attrs()) -@GTK_WRAP_WORD: wrap text, breaking lines in between words -@GTK_WRAP_WORD_CHAR: wrap text, breaking lines in between words, or if - that is not enough, also between graphemes. - -<!-- ##### STRUCT GtkTextAttributes ##### --> -<para> -Using #GtkTextAttributes directly should rarely be necessary. It's -primarily useful with gtk_text_iter_get_attributes(). As with most -GTK+ structs, the fields in this struct should only be read, never -modified directly. -</para> - -@appearance: pointer to sub-struct containing certain attributes -@justification: -@direction: -@font: -@font_scale: -@left_margin: -@indent: -@right_margin: -@pixels_above_lines: -@pixels_below_lines: -@pixels_inside_wrap: -@tabs: -@wrap_mode: -@language: -@invisible: -@bg_full_height: -@editable: -@realized: - -<!-- ##### FUNCTION gtk_text_tag_new ##### --> -<para> - -</para> - -@name: -@Returns: - - -<!-- ##### FUNCTION gtk_text_tag_get_priority ##### --> -<para> - -</para> - -@tag: -@Returns: - - -<!-- ##### FUNCTION gtk_text_tag_set_priority ##### --> -<para> - -</para> - -@tag: -@priority: - - -<!-- ##### FUNCTION gtk_text_tag_event ##### --> -<para> - -</para> - -@tag: -@event_object: -@event: -@iter: -@Returns: - - -<!-- ##### STRUCT GtkTextAppearance ##### --> -<para> - -</para> - -@bg_color: -@fg_color: -@bg_stipple: -@fg_stipple: -@rise: -@underline: -@strikethrough: -@draw_bg: -@inside_selection: -@is_text: - -<!-- ##### FUNCTION gtk_text_attributes_new ##### --> -<para> - -</para> - -@Returns: - - -<!-- ##### FUNCTION gtk_text_attributes_copy ##### --> -<para> - -</para> - -@src: -@Returns: -<!-- # Unused Parameters # --> -@dest: - - -<!-- ##### FUNCTION gtk_text_attributes_copy_values ##### --> -<para> - -</para> - -@src: -@dest: - - -<!-- ##### FUNCTION gtk_text_attributes_unref ##### --> -<para> - -</para> - -@values: - - -<!-- ##### FUNCTION gtk_text_attributes_ref ##### --> -<para> - -</para> - -@values: - - diff --git a/docs/reference/gtk/tmpl/gtktexttagtable.sgml b/docs/reference/gtk/tmpl/gtktexttagtable.sgml index c27f6abbe6..bdae305c3b 100644 --- a/docs/reference/gtk/tmpl/gtktexttagtable.sgml +++ b/docs/reference/gtk/tmpl/gtktexttagtable.sgml @@ -27,31 +27,6 @@ types related to the text widget and how they work together. </para> -<!-- ##### SIGNAL GtkTextTagTable::tag-added ##### --> -<para> - -</para> - -@texttagtable: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextTagTable::tag-changed ##### --> -<para> - -</para> - -@texttagtable: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextTagTable::tag-removed ##### --> -<para> - -</para> - -@texttagtable: the object which received the signal. -@arg1: - <!-- ##### USER_FUNCTION GtkTextTagTableForeach ##### --> <para> @@ -116,3 +91,28 @@ types related to the text widget and how they work together. @Returns: +<!-- ##### SIGNAL GtkTextTagTable::tag-added ##### --> +<para> + +</para> + +@texttagtable: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextTagTable::tag-changed ##### --> +<para> + +</para> + +@texttagtable: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextTagTable::tag-removed ##### --> +<para> + +</para> + +@texttagtable: the object which received the signal. +@arg1: + diff --git a/docs/reference/gtk/tmpl/gtktextview.sgml b/docs/reference/gtk/tmpl/gtktextview.sgml index 40feb5fb13..9ebedbc523 100644 --- a/docs/reference/gtk/tmpl/gtktextview.sgml +++ b/docs/reference/gtk/tmpl/gtktextview.sgml @@ -26,189 +26,6 @@ types related to the text widget and how they work together. </para> -<!-- ##### SIGNAL GtkTextView::copy-clipboard ##### --> -<para> - -</para> - -@textview: the object which received the signal. - -<!-- ##### SIGNAL GtkTextView::cut-clipboard ##### --> -<para> - -</para> - -@textview: the object which received the signal. - -<!-- ##### SIGNAL GtkTextView::delete-from-cursor ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextView::insert-at-cursor ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextView::move-cursor ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: -@arg2: -@arg3: - -<!-- ##### SIGNAL GtkTextView::move-focus ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextView::move-viewport ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextView::page-horizontally ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextView::paste-clipboard ##### --> -<para> - -</para> - -@textview: the object which received the signal. - -<!-- ##### SIGNAL GtkTextView::populate-popup ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextView::select-all ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTextView::set-anchor ##### --> -<para> - -</para> - -@textview: the object which received the signal. - -<!-- ##### SIGNAL GtkTextView::set-scroll-adjustments ##### --> -<para> - -</para> - -@textview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### --> -<para> - -</para> - -@textview: the object which received the signal. - -<!-- ##### ARG GtkTextView:accepts-tab ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:buffer ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:cursor-visible ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:editable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:indent ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:justification ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:left-margin ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:overwrite ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:pixels-above-lines ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:pixels-below-lines ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:pixels-inside-wrap ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:right-margin ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:tabs ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTextView:wrap-mode ##### --> -<para> - -</para> - <!-- ##### ENUM GtkTextWindowType ##### --> <para> @@ -815,3 +632,186 @@ in an idle job in the background. +<!-- ##### SIGNAL GtkTextView::copy-clipboard ##### --> +<para> + +</para> + +@textview: the object which received the signal. + +<!-- ##### SIGNAL GtkTextView::cut-clipboard ##### --> +<para> + +</para> + +@textview: the object which received the signal. + +<!-- ##### SIGNAL GtkTextView::delete-from-cursor ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextView::insert-at-cursor ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextView::move-cursor ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: +@arg2: +@arg3: + +<!-- ##### SIGNAL GtkTextView::move-focus ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextView::move-viewport ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextView::page-horizontally ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextView::paste-clipboard ##### --> +<para> + +</para> + +@textview: the object which received the signal. + +<!-- ##### SIGNAL GtkTextView::populate-popup ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextView::select-all ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTextView::set-anchor ##### --> +<para> + +</para> + +@textview: the object which received the signal. + +<!-- ##### SIGNAL GtkTextView::set-scroll-adjustments ##### --> +<para> + +</para> + +@textview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### --> +<para> + +</para> + +@textview: the object which received the signal. + +<!-- ##### ARG GtkTextView:accepts-tab ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:buffer ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:cursor-visible ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:editable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:indent ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:justification ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:left-margin ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:overwrite ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:pixels-above-lines ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:pixels-below-lines ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:pixels-inside-wrap ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:right-margin ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:tabs ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTextView:wrap-mode ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktipsquery.sgml b/docs/reference/gtk/tmpl/gtktipsquery.sgml index 8934b3c178..7d1f7b00b7 100644 --- a/docs/reference/gtk/tmpl/gtktipsquery.sgml +++ b/docs/reference/gtk/tmpl/gtktipsquery.sgml @@ -47,6 +47,56 @@ should be accessed using the functions below. </para> +<!-- ##### FUNCTION gtk_tips_query_new ##### --> +<para> +Creates a new #GtkTipsQuery. +</para> + +@Returns: a new #GtkTipsQuery. + + +<!-- ##### FUNCTION gtk_tips_query_start_query ##### --> +<para> +Starts a query. +The #GtkTipsQuery widget will take control of the mouse and as the mouse +moves it will display the tooltip of the widget beneath the mouse. +</para> + +@tips_query: a #GtkTipsQuery. + + +<!-- ##### FUNCTION gtk_tips_query_stop_query ##### --> +<para> +Stops a query. +</para> + +@tips_query: a #GtkTipsQuery. + + +<!-- ##### FUNCTION gtk_tips_query_set_caller ##### --> +<para> +Sets the widget which initiates the query, usually a button. +If the @caller is selected while the query is running, the query is +automatically stopped. +</para> + +@tips_query: a #GtkTipsQuery. +@caller: the widget which initiates the query. + + +<!-- ##### FUNCTION gtk_tips_query_set_labels ##### --> +<para> +Sets the text to display when the query is not in effect, +and the text to display when the query is in effect but the widget beneath +the pointer has no tooltip. +</para> + +@tips_query: a #GtkTipsQuery. +@label_inactive: the text to display when the query is not running. +@label_no_tip: the text to display when the query is running but the widget +beneath the pointer has no tooltip. + + <!-- ##### SIGNAL GtkTipsQuery::start-query ##### --> <para> Emitted when the query is started. @@ -108,53 +158,3 @@ The text to display in the #GtkTipsQuery widget when the query is running and the widget that the pointer is over has no tooltip. </para> -<!-- ##### FUNCTION gtk_tips_query_new ##### --> -<para> -Creates a new #GtkTipsQuery. -</para> - -@Returns: a new #GtkTipsQuery. - - -<!-- ##### FUNCTION gtk_tips_query_start_query ##### --> -<para> -Starts a query. -The #GtkTipsQuery widget will take control of the mouse and as the mouse -moves it will display the tooltip of the widget beneath the mouse. -</para> - -@tips_query: a #GtkTipsQuery. - - -<!-- ##### FUNCTION gtk_tips_query_stop_query ##### --> -<para> -Stops a query. -</para> - -@tips_query: a #GtkTipsQuery. - - -<!-- ##### FUNCTION gtk_tips_query_set_caller ##### --> -<para> -Sets the widget which initiates the query, usually a button. -If the @caller is selected while the query is running, the query is -automatically stopped. -</para> - -@tips_query: a #GtkTipsQuery. -@caller: the widget which initiates the query. - - -<!-- ##### FUNCTION gtk_tips_query_set_labels ##### --> -<para> -Sets the text to display when the query is not in effect, -and the text to display when the query is in effect but the widget beneath -the pointer has no tooltip. -</para> - -@tips_query: a #GtkTipsQuery. -@label_inactive: the text to display when the query is not running. -@label_no_tip: the text to display when the query is running but the widget -beneath the pointer has no tooltip. - - diff --git a/docs/reference/gtk/tmpl/gtktoggleaction.sgml b/docs/reference/gtk/tmpl/gtktoggleaction.sgml index 7703aee732..e2f62c0982 100644 --- a/docs/reference/gtk/tmpl/gtktoggleaction.sgml +++ b/docs/reference/gtk/tmpl/gtktoggleaction.sgml @@ -22,18 +22,6 @@ private members and should not be accessed directly. </para> -<!-- ##### SIGNAL GtkToggleAction::toggled ##### --> -<para> - -</para> - -@toggleaction: the object which received the signal. - -<!-- ##### ARG GtkToggleAction:draw-as-radio ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_toggle_action_toggled ##### --> <para> @@ -78,3 +66,15 @@ private members and should not be accessed directly. @Returns: +<!-- ##### SIGNAL GtkToggleAction::toggled ##### --> +<para> + +</para> + +@toggleaction: the object which received the signal. + +<!-- ##### ARG GtkToggleAction:draw-as-radio ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktogglebutton.sgml b/docs/reference/gtk/tmpl/gtktogglebutton.sgml index 1809aa6429..23ac0d32e3 100644 --- a/docs/reference/gtk/tmpl/gtktogglebutton.sgml +++ b/docs/reference/gtk/tmpl/gtktogglebutton.sgml @@ -83,29 +83,6 @@ The #GtkToggleButton struct contains private data only, and should be manipulate </para> -<!-- ##### SIGNAL GtkToggleButton::toggled ##### --> -<para> -Should be connected if you wish to perform an action whenever the -#GtkToggleButton's state is changed. -</para> - -@togglebutton: the object which received the signal. - -<!-- ##### ARG GtkToggleButton:active ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToggleButton:draw-indicator ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToggleButton:inconsistent ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_toggle_button_new ##### --> <para> Creates a new toggle button. A widget should be packed into the button, as in gtk_button_new(). @@ -205,3 +182,26 @@ This action causes the toggled signal to be emitted. @setting: +<!-- ##### SIGNAL GtkToggleButton::toggled ##### --> +<para> +Should be connected if you wish to perform an action whenever the +#GtkToggleButton's state is changed. +</para> + +@togglebutton: the object which received the signal. + +<!-- ##### ARG GtkToggleButton:active ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToggleButton:draw-indicator ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToggleButton:inconsistent ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml b/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml index d95ad91163..7bf6e47627 100644 --- a/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml +++ b/docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml @@ -47,13 +47,6 @@ A #GtkToolItem containing a toggle button. </para> -<!-- ##### SIGNAL GtkToggleToolButton::toggled ##### --> -<para> - -</para> - -@toggletoolbutton: the object which received the signal. - <!-- ##### FUNCTION gtk_toggle_tool_button_new ##### --> <para> @@ -89,3 +82,10 @@ A #GtkToolItem containing a toggle button. @Returns: +<!-- ##### SIGNAL GtkToggleToolButton::toggled ##### --> +<para> + +</para> + +@toggletoolbutton: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtktoolbar.sgml b/docs/reference/gtk/tmpl/gtktoolbar.sgml index 17f9ef063c..0646c537dc 100644 --- a/docs/reference/gtk/tmpl/gtktoolbar.sgml +++ b/docs/reference/gtk/tmpl/gtktoolbar.sgml @@ -12,9 +12,14 @@ A toolbar is created with a call to gtk_toolbar_new(). A toolbar can contain instances of a subclass of #GtkToolItem. To add a #GtkToolItem to the a toolbar, use gtk_toolbar_insert(). To remove an item from the toolbar use gtk_container_remove(). To add a button -to the toolbar, add an instance of #GtkToolButton. Toolbar items can -be visually grouped by adding instances of #GtkSeparatorToolItem to -the toolbar. +to the toolbar, add an instance of #GtkToolButton. +</para> +<para> +Toolbar items can be visually grouped by adding instances of +#GtkSeparatorToolItem to the toolbar. If a #GtkSeparatorToolItem has +the "expand" property set to #TRUE and the "draw" property set to +#FALSE the effect is to force all following items to the end of the +toolbar. </para> <para> Creating a context menu for the toolbar can be done by connecting to @@ -40,109 +45,6 @@ accessed through the function described below. </para> -<!-- ##### SIGNAL GtkToolbar::focus-home-or-end ##### --> -<para> - -</para> - -@toolbar: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkToolbar::move-focus ##### --> -<para> - -</para> - -@toolbar: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkToolbar::orientation-changed ##### --> -<para> - -</para> - -@toolbar: the object which received the signal. -@orientation: the new #GtkOrientation of the toolbar. - -<!-- ##### SIGNAL GtkToolbar::popup-context-menu ##### --> -<para> - -</para> - -@toolbar: the object which received the signal. -@Returns: -@: -@: -@Returns: -@: -@Returns: -@Returns: - -<!-- ##### SIGNAL GtkToolbar::style-changed ##### --> -<para> - -</para> - -@toolbar: -@style: - -<!-- ##### ARG GtkToolbar:orientation ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:show-arrow ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:toolbar-style ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:expand ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:homogeneous ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:pack-end ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:button-relief ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:internal-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:shadow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:space-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolbar:space-style ##### --> -<para> - -</para> - <!-- ##### ENUM GtkToolbarChildType ##### --> <para> #GtkToolbarChildType is used to set the type of new elements that are added @@ -530,3 +432,101 @@ to a #GtkToolbar. @toolbar: +<!-- ##### SIGNAL GtkToolbar::focus-home-or-end ##### --> +<para> + +</para> + +@toolbar: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkToolbar::move-focus ##### --> +<para> + +</para> + +@toolbar: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkToolbar::orientation-changed ##### --> +<para> + +</para> + +@toolbar: the object which received the signal. +@orientation: the new #GtkOrientation of the toolbar. + +<!-- ##### SIGNAL GtkToolbar::popup-context-menu ##### --> +<para> + +</para> + +@toolbar: the object which received the signal. +@Returns: +@: +@: +@Returns: +@: +@Returns: +@Returns: + +<!-- ##### SIGNAL GtkToolbar::style-changed ##### --> +<para> + +</para> + +@toolbar: +@style: + +<!-- ##### ARG GtkToolbar:orientation ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:show-arrow ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:toolbar-style ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:expand ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:homogeneous ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:button-relief ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:internal-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:shadow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:space-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolbar:space-style ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktoolbutton.sgml b/docs/reference/gtk/tmpl/gtktoolbutton.sgml index 1590ef4c14..cc49be6435 100644 --- a/docs/reference/gtk/tmpl/gtktoolbutton.sgml +++ b/docs/reference/gtk/tmpl/gtktoolbutton.sgml @@ -69,38 +69,6 @@ accessed with the function described below. </para> -<!-- ##### SIGNAL GtkToolButton::clicked ##### --> -<para> - -</para> - -@toolbutton: the object which received the signal. - -<!-- ##### ARG GtkToolButton:icon-widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolButton:label ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolButton:label-widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolButton:stock-id ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolButton:use-underline ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_tool_button_new ##### --> <para> @@ -210,3 +178,35 @@ accessed with the function described below. @Returns: +<!-- ##### SIGNAL GtkToolButton::clicked ##### --> +<para> + +</para> + +@toolbutton: the object which received the signal. + +<!-- ##### ARG GtkToolButton:icon-widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolButton:label ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolButton:label-widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolButton:stock-id ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolButton:use-underline ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktoolitem.sgml b/docs/reference/gtk/tmpl/gtktoolitem.sgml index 7f7df20097..435d1aeadc 100644 --- a/docs/reference/gtk/tmpl/gtktoolitem.sgml +++ b/docs/reference/gtk/tmpl/gtktoolitem.sgml @@ -49,47 +49,6 @@ accessed through the functions described below. </para> -<!-- ##### SIGNAL GtkToolItem::create-menu-proxy ##### --> -<para> - -</para> - -@toolitem: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkToolItem::set-tooltip ##### --> -<para> - -</para> - -@toolitem: the object which received the signal. -@arg1: -@arg2: -@arg3: -@Returns: - -<!-- ##### SIGNAL GtkToolItem::toolbar-reconfigured ##### --> -<para> - -</para> - -@toolitem: the object which received the signal. - -<!-- ##### ARG GtkToolItem:is-important ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolItem:visible-horizontal ##### --> -<para> - -</para> - -<!-- ##### ARG GtkToolItem:visible-vertical ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_tool_item_new ##### --> <para> @@ -134,24 +93,6 @@ accessed through the functions described below. @Returns: -<!-- ##### FUNCTION gtk_tool_item_set_pack_end ##### --> -<para> - -</para> - -@tool_item: -@pack_end: - - -<!-- ##### FUNCTION gtk_tool_item_get_pack_end ##### --> -<para> - -</para> - -@tool_item: -@Returns: - - <!-- ##### FUNCTION gtk_tool_item_set_tooltip ##### --> <para> @@ -300,3 +241,44 @@ accessed through the functions described below. @menu_item: +<!-- ##### SIGNAL GtkToolItem::create-menu-proxy ##### --> +<para> + +</para> + +@toolitem: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkToolItem::set-tooltip ##### --> +<para> + +</para> + +@toolitem: the object which received the signal. +@arg1: +@arg2: +@arg3: +@Returns: + +<!-- ##### SIGNAL GtkToolItem::toolbar-reconfigured ##### --> +<para> + +</para> + +@toolitem: the object which received the signal. + +<!-- ##### ARG GtkToolItem:is-important ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolItem:visible-horizontal ##### --> +<para> + +</para> + +<!-- ##### ARG GtkToolItem:visible-vertical ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktree.sgml b/docs/reference/gtk/tmpl/gtktree.sgml index 9f2a943a5f..96fe36fea2 100644 --- a/docs/reference/gtk/tmpl/gtktree.sgml +++ b/docs/reference/gtk/tmpl/gtktree.sgml @@ -45,29 +45,6 @@ struct _GtkTree </para> -<!-- ##### SIGNAL GtkTree::select-child ##### --> -<para> -This signal is emitted by @tree whenever @widget is about to be selected. -</para> - -@tree: the object which received the signal. -@widget: The child that is about to be selected. - -<!-- ##### SIGNAL GtkTree::selection-changed ##### --> -<para> -This signal is emitted by the root tree whenever the selection changes. -</para> - -@tree: the object which received the signal. - -<!-- ##### SIGNAL GtkTree::unselect-child ##### --> -<para> -This signal is emitted by @tree whenever @widget is about to be unselected. -</para> - -@tree: the object which received the signal. -@widget: The child that is about to be unselected. - <!-- ##### MACRO GTK_IS_ROOT_TREE ##### --> <para> A macro that returns a boolean value which indicates if @obj is a root tree or not. @@ -301,3 +278,26 @@ Removes the item @child from the #GtkTree @tree. @child: A pointer to the #GtkWidget that is to be removed from the tree. +<!-- ##### SIGNAL GtkTree::select-child ##### --> +<para> +This signal is emitted by @tree whenever @widget is about to be selected. +</para> + +@tree: the object which received the signal. +@widget: The child that is about to be selected. + +<!-- ##### SIGNAL GtkTree::selection-changed ##### --> +<para> +This signal is emitted by the root tree whenever the selection changes. +</para> + +@tree: the object which received the signal. + +<!-- ##### SIGNAL GtkTree::unselect-child ##### --> +<para> +This signal is emitted by @tree whenever @widget is about to be unselected. +</para> + +@tree: the object which received the signal. +@widget: The child that is about to be unselected. + diff --git a/docs/reference/gtk/tmpl/gtktreeitem.sgml b/docs/reference/gtk/tmpl/gtktreeitem.sgml index 4719f5ad5b..6f404c54f7 100644 --- a/docs/reference/gtk/tmpl/gtktreeitem.sgml +++ b/docs/reference/gtk/tmpl/gtktreeitem.sgml @@ -26,20 +26,6 @@ prior to including the GTK+ header files. Use #GtkTreeView instead. </para> -<!-- ##### SIGNAL GtkTreeItem::collapse ##### --> -<para> - -</para> - -@treeitem: the object which received the signal. - -<!-- ##### SIGNAL GtkTreeItem::expand ##### --> -<para> - -</para> - -@treeitem: the object which received the signal. - <!-- ##### MACRO GTK_TREE_ITEM_SUBTREE ##### --> <para> @@ -114,3 +100,17 @@ prior to including the GTK+ header files. Use #GtkTreeView instead. @tree_item: +<!-- ##### SIGNAL GtkTreeItem::collapse ##### --> +<para> + +</para> + +@treeitem: the object which received the signal. + +<!-- ##### SIGNAL GtkTreeItem::expand ##### --> +<para> + +</para> + +@treeitem: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtktreemodel.sgml b/docs/reference/gtk/tmpl/gtktreemodel.sgml index 88612dc2d2..bac6191d23 100644 --- a/docs/reference/gtk/tmpl/gtktreemodel.sgml +++ b/docs/reference/gtk/tmpl/gtktreemodel.sgml @@ -199,51 +199,6 @@ enum </para> -<!-- ##### SIGNAL GtkTreeModel::row-changed ##### --> -<para> - -</para> - -@treemodel: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeModel::row-deleted ##### --> -<para> - -</para> - -@treemodel: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkTreeModel::row-has-child-toggled ##### --> -<para> - -</para> - -@treemodel: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeModel::row-inserted ##### --> -<para> - -</para> - -@treemodel: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeModel::rows-reordered ##### --> -<para> - -</para> - -@treemodel: the object which received the signal. -@arg1: -@arg2: -@arg3: - <!-- ##### STRUCT GtkTreeIter ##### --> <para> The <structname>GtkTreeIter</structname> is the primary structure for @@ -860,3 +815,48 @@ versions of GTK+. @new_order: +<!-- ##### SIGNAL GtkTreeModel::row-changed ##### --> +<para> + +</para> + +@treemodel: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeModel::row-deleted ##### --> +<para> + +</para> + +@treemodel: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkTreeModel::row-has-child-toggled ##### --> +<para> + +</para> + +@treemodel: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeModel::row-inserted ##### --> +<para> + +</para> + +@treemodel: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeModel::rows-reordered ##### --> +<para> + +</para> + +@treemodel: the object which received the signal. +@arg1: +@arg2: +@arg3: + diff --git a/docs/reference/gtk/tmpl/gtktreemodelfilter.sgml b/docs/reference/gtk/tmpl/gtktreemodelfilter.sgml index cd09e3fdc0..4cad6f9fc3 100644 --- a/docs/reference/gtk/tmpl/gtktreemodelfilter.sgml +++ b/docs/reference/gtk/tmpl/gtktreemodelfilter.sgml @@ -20,16 +20,6 @@ GtkTreeModelFilter </para> -<!-- ##### ARG GtkTreeModelFilter:child-model ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeModelFilter:virtual-root ##### --> -<para> - -</para> - <!-- ##### USER_FUNCTION GtkTreeModelFilterVisibleFunc ##### --> <para> @@ -161,3 +151,13 @@ GtkTreeModelFilter @filter: +<!-- ##### ARG GtkTreeModelFilter:child-model ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeModelFilter:virtual-root ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktreemodelsort.sgml b/docs/reference/gtk/tmpl/gtktreemodelsort.sgml index fbd5fdf0c4..7f6bd3cd3b 100644 --- a/docs/reference/gtk/tmpl/gtktreemodelsort.sgml +++ b/docs/reference/gtk/tmpl/gtktreemodelsort.sgml @@ -20,11 +20,6 @@ A wrapper which makes an underlying tree model sortable </para> -<!-- ##### ARG GtkTreeModelSort:model ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_tree_model_sort_new_with_model ##### --> <para> @@ -113,3 +108,8 @@ A wrapper which makes an underlying tree model sortable @Returns: +<!-- ##### ARG GtkTreeModelSort:model ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktreeselection.sgml b/docs/reference/gtk/tmpl/gtktreeselection.sgml index f17ee07ac3..b88d04c3aa 100644 --- a/docs/reference/gtk/tmpl/gtktreeselection.sgml +++ b/docs/reference/gtk/tmpl/gtktreeselection.sgml @@ -46,16 +46,6 @@ selected row). </para> -<!-- ##### SIGNAL GtkTreeSelection::changed ##### --> -<para> -Emitted whenever the selection has (possibly) changed. Please note that -this signal is mostly a hint. It may only be emitted once when a range -of rows are selected, and it may occasionally be emitted when nothing -has happened. -</para> - -@treeselection: the object which received the signal. - <!-- ##### USER_FUNCTION GtkTreeSelectionFunc ##### --> <para> A function used by gtk_tree_selection_set_select_function() to filter @@ -263,3 +253,13 @@ selected rows. It will be called on every selected row in the view. @end_path: +<!-- ##### SIGNAL GtkTreeSelection::changed ##### --> +<para> +Emitted whenever the selection has (possibly) changed. Please note that +this signal is mostly a hint. It may only be emitted once when a range +of rows are selected, and it may occasionally be emitted when nothing +has happened. +</para> + +@treeselection: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtktreesortable.sgml b/docs/reference/gtk/tmpl/gtktreesortable.sgml index f58e9e6ab1..9e96ee3f5e 100644 --- a/docs/reference/gtk/tmpl/gtktreesortable.sgml +++ b/docs/reference/gtk/tmpl/gtktreesortable.sgml @@ -20,13 +20,6 @@ The interface for sortable models used by GtkTreeView </para> -<!-- ##### SIGNAL GtkTreeSortable::sort-column-changed ##### --> -<para> - -</para> - -@treesortable: the object which received the signal. - <!-- ##### STRUCT GtkTreeSortableIface ##### --> <para> @@ -113,3 +106,10 @@ The interface for sortable models used by GtkTreeView @Returns: +<!-- ##### SIGNAL GtkTreeSortable::sort-column-changed ##### --> +<para> + +</para> + +@treesortable: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtktreeview.sgml b/docs/reference/gtk/tmpl/gtktreeview.sgml index 8d7bd7a8f6..84a67e37d5 100644 --- a/docs/reference/gtk/tmpl/gtktreeview.sgml +++ b/docs/reference/gtk/tmpl/gtktreeview.sgml @@ -21,231 +21,6 @@ linkend="GtkTreeModel">GtkTreeModel</link> interface. </para> -<!-- ##### SIGNAL GtkTreeView::columns-changed ##### --> -<para> - -</para> - -@treeview: the object which received the signal. - -<!-- ##### SIGNAL GtkTreeView::cursor-changed ##### --> -<para> - -</para> - -@treeview: the object which received the signal. - -<!-- ##### SIGNAL GtkTreeView::expand-collapse-cursor-row ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: -@arg3: -@Returns: - -<!-- ##### SIGNAL GtkTreeView::move-cursor ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: -@Returns: - -<!-- ##### SIGNAL GtkTreeView::row-activated ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeView::row-collapsed ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeView::row-expanded ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeView::select-all ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkTreeView::select-cursor-parent ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkTreeView::select-cursor-row ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkTreeView::set-scroll-adjustments ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### SIGNAL GtkTreeView::start-interactive-search ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkTreeView::test-collapse-row ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: -@Returns: - -<!-- ##### SIGNAL GtkTreeView::test-expand-row ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@arg1: -@arg2: -@Returns: - -<!-- ##### SIGNAL GtkTreeView::toggle-cursor-row ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkTreeView::unselect-all ##### --> -<para> - -</para> - -@treeview: the object which received the signal. -@Returns: - -<!-- ##### ARG GtkTreeView:enable-search ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:expander-column ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:hadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:headers-clickable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:headers-visible ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:model ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:reorderable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:rules-hint ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:search-column ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:vadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:allow-rules ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:even-row-color ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:expander-size ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:horizontal-separator ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:indent-expanders ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:odd-row-color ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeView:vertical-separator ##### --> -<para> - -</para> - <!-- ##### ENUM GtkTreeViewDropPosition ##### --> <para> An enum for determining where a dropped row goes. @@ -964,3 +739,228 @@ Function used for #gtk_tree_view_map_expanded_rows. @destroy: +<!-- ##### SIGNAL GtkTreeView::columns-changed ##### --> +<para> + +</para> + +@treeview: the object which received the signal. + +<!-- ##### SIGNAL GtkTreeView::cursor-changed ##### --> +<para> + +</para> + +@treeview: the object which received the signal. + +<!-- ##### SIGNAL GtkTreeView::expand-collapse-cursor-row ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: +@arg3: +@Returns: + +<!-- ##### SIGNAL GtkTreeView::move-cursor ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: +@Returns: + +<!-- ##### SIGNAL GtkTreeView::row-activated ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeView::row-collapsed ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeView::row-expanded ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeView::select-all ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkTreeView::select-cursor-parent ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkTreeView::select-cursor-row ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkTreeView::set-scroll-adjustments ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkTreeView::start-interactive-search ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkTreeView::test-collapse-row ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: +@Returns: + +<!-- ##### SIGNAL GtkTreeView::test-expand-row ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@arg1: +@arg2: +@Returns: + +<!-- ##### SIGNAL GtkTreeView::toggle-cursor-row ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkTreeView::unselect-all ##### --> +<para> + +</para> + +@treeview: the object which received the signal. +@Returns: + +<!-- ##### ARG GtkTreeView:enable-search ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:expander-column ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:hadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:headers-clickable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:headers-visible ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:model ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:reorderable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:rules-hint ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:search-column ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:vadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:allow-rules ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:even-row-color ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:expander-size ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:horizontal-separator ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:indent-expanders ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:odd-row-color ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeView:vertical-separator ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml index 01b42eaec8..a65dc1b1a3 100644 --- a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml +++ b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml @@ -50,88 +50,6 @@ calling gtk_tree_view_column_set_cell_data_func() </para> -<!-- ##### SIGNAL GtkTreeViewColumn::clicked ##### --> -<para> - -</para> - -@treeviewcolumn: the object which received the signal. - -<!-- ##### ARG GtkTreeViewColumn:alignment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:clickable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:expand ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:fixed-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:max-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:min-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:reorderable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:resizable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:sizing ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:sort-indicator ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:sort-order ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:title ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:visible ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:widget ##### --> -<para> - -</para> - -<!-- ##### ARG GtkTreeViewColumn:width ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_tree_view_column_new ##### --> <para> @@ -592,3 +510,85 @@ calling gtk_tree_view_column_set_cell_data_func() @cell: +<!-- ##### SIGNAL GtkTreeViewColumn::clicked ##### --> +<para> + +</para> + +@treeviewcolumn: the object which received the signal. + +<!-- ##### ARG GtkTreeViewColumn:alignment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:clickable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:expand ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:fixed-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:max-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:min-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:reorderable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:resizable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:sizing ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:sort-indicator ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:sort-order ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:title ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:visible ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:widget ##### --> +<para> + +</para> + +<!-- ##### ARG GtkTreeViewColumn:width ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkuimanager.sgml b/docs/reference/gtk/tmpl/gtkuimanager.sgml index 1037f9ccbe..084140e569 100644 --- a/docs/reference/gtk/tmpl/gtkuimanager.sgml +++ b/docs/reference/gtk/tmpl/gtkuimanager.sgml @@ -184,31 +184,6 @@ members and should not be accessed directly. </para> -<!-- ##### SIGNAL GtkUIManager::actions-changed ##### --> -<para> - -</para> - -@uimanager: the object which received the signal. - -<!-- ##### SIGNAL GtkUIManager::add-widget ##### --> -<para> - -</para> - -@uimanager: the object which received the signal. -@widget: - -<!-- ##### ARG GtkUIManager:add-tearoffs ##### --> -<para> - -</para> - -<!-- ##### ARG GtkUIManager:ui ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_ui_manager_new ##### --> <para> @@ -381,3 +356,28 @@ what UI element to create. @self: +<!-- ##### SIGNAL GtkUIManager::actions-changed ##### --> +<para> + +</para> + +@uimanager: the object which received the signal. + +<!-- ##### SIGNAL GtkUIManager::add-widget ##### --> +<para> + +</para> + +@uimanager: the object which received the signal. +@widget: + +<!-- ##### ARG GtkUIManager:add-tearoffs ##### --> +<para> + +</para> + +<!-- ##### ARG GtkUIManager:ui ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkviewport.sgml b/docs/reference/gtk/tmpl/gtkviewport.sgml index b9bd883c8a..81d3acf89c 100644 --- a/docs/reference/gtk/tmpl/gtkviewport.sgml +++ b/docs/reference/gtk/tmpl/gtkviewport.sgml @@ -20,30 +20,6 @@ An adapter which makes widgets scrollable </para> -<!-- ##### SIGNAL GtkViewport::set-scroll-adjustments ##### --> -<para> - -</para> - -@viewport: the object which received the signal. -@arg1: -@arg2: - -<!-- ##### ARG GtkViewport:hadjustment ##### --> -<para> - -</para> - -<!-- ##### ARG GtkViewport:shadow-type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkViewport:vadjustment ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_viewport_new ##### --> <para> @@ -108,3 +84,27 @@ An adapter which makes widgets scrollable @Returns: +<!-- ##### SIGNAL GtkViewport::set-scroll-adjustments ##### --> +<para> + +</para> + +@viewport: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### ARG GtkViewport:hadjustment ##### --> +<para> + +</para> + +<!-- ##### ARG GtkViewport:shadow-type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkViewport:vadjustment ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkwidget.sgml b/docs/reference/gtk/tmpl/gtkwidget.sgml index 5bacbdc2af..8d986be030 100644 --- a/docs/reference/gtk/tmpl/gtkwidget.sgml +++ b/docs/reference/gtk/tmpl/gtkwidget.sgml @@ -41,671 +41,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property. will be indicated by the #GTK_NO_WINDOW flag being set). @parent: -<!-- ##### SIGNAL GtkWidget::accel-closures-changed ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::button-press-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::button-release-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::child-notify ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkWidget::client-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::configure-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::delete-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::destroy-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::direction-changed ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkWidget::drag-begin ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: - -<!-- ##### SIGNAL GtkWidget::drag-data-delete ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: - -<!-- ##### SIGNAL GtkWidget::drag-data-get ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: -@data: -@info: -@time: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::drag-data-received ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: -@x: -@y: -@data: -@info: -@time: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::drag-drop ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: -@x: -@y: -@time: -@Returns: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::drag-end ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: - -<!-- ##### SIGNAL GtkWidget::drag-leave ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: -@time: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::drag-motion ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@drag_context: -@x: -@y: -@time: -@Returns: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::enter-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::event-after ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: - -<!-- ##### SIGNAL GtkWidget::expose-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::focus ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::focus-in-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::focus-out-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::grab-focus ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::grab-notify ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkWidget::hide ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### --> -<para> -Emitted when there is a chance in the hierarchy to -which a widget belong. More precisely, a widget is -<firstterm>anchored</firstterm> when its toplevel -ancestor is a #GtkWindow. This signal is emitted when -a widget changes from un-anchored to anchored or vice-versa. -</para> - -@widget: the object which received the signal. -@widget2: - -<!-- ##### SIGNAL GtkWidget::key-press-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::key-release-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::leave-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::map ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::map-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkWidget::motion-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::no-expose-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::parent-set ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@old_parent: - -<!-- ##### SIGNAL GtkWidget::popup-menu ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@Returns: - -<!-- ##### SIGNAL GtkWidget::property-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::proximity-in-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::proximity-out-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::realize ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::screen-changed ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkWidget::scroll-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::selection-clear-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::selection-get ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@data: -@info: -@time: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::selection-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::selection-received ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@data: -@time: -<!-- # Unused Parameters # --> -@time_: - -<!-- ##### SIGNAL GtkWidget::selection-request-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::show ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::show-help ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@arg1: -@Returns: - -<!-- ##### SIGNAL GtkWidget::size-allocate ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@allocation: - -<!-- ##### SIGNAL GtkWidget::size-request ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@requisition: - -<!-- ##### SIGNAL GtkWidget::state-changed ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@state: - -<!-- ##### SIGNAL GtkWidget::style-set ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@previous_style: - -<!-- ##### SIGNAL GtkWidget::unmap ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::unmap-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::unrealize ##### --> -<para> - -</para> - -@widget: the object which received the signal. - -<!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### SIGNAL GtkWidget::window-state-event ##### --> -<para> - -</para> - -@widget: the object which received the signal. -@event: -@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. - -<!-- ##### ARG GtkWidget:app-paintable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:can-default ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:can-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:composite-child ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:events ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:extension-events ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:has-default ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:has-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:height-request ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:is-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:name ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:no-show-all ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:parent ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:receives-default ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:sensitive ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:style ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:visible ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:width-request ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:cursor-aspect-ratio ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:cursor-color ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:focus-line-pattern ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:focus-line-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:focus-padding ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:interior-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWidget:secondary-cursor-color ##### --> -<para> - -</para> - <!-- ##### STRUCT GtkWidgetClass ##### --> <para> <structfield>activate_signal</structfield> @@ -2320,3 +1655,668 @@ This function is deprecated; it does nothing. @requisition: +<!-- ##### SIGNAL GtkWidget::accel-closures-changed ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::button-press-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::button-release-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::child-notify ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkWidget::client-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::configure-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::delete-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::destroy-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::direction-changed ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkWidget::drag-begin ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: + +<!-- ##### SIGNAL GtkWidget::drag-data-delete ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: + +<!-- ##### SIGNAL GtkWidget::drag-data-get ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: +@data: +@info: +@time: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::drag-data-received ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@data: +@info: +@time: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::drag-drop ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@time: +@Returns: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::drag-end ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: + +<!-- ##### SIGNAL GtkWidget::drag-leave ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: +@time: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::drag-motion ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@time: +@Returns: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::enter-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::event-after ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: + +<!-- ##### SIGNAL GtkWidget::expose-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::focus ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::focus-in-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::focus-out-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::grab-focus ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::grab-notify ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkWidget::hide ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### --> +<para> +Emitted when there is a chance in the hierarchy to +which a widget belong. More precisely, a widget is +<firstterm>anchored</firstterm> when its toplevel +ancestor is a #GtkWindow. This signal is emitted when +a widget changes from un-anchored to anchored or vice-versa. +</para> + +@widget: the object which received the signal. +@widget2: + +<!-- ##### SIGNAL GtkWidget::key-press-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::key-release-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::leave-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::map ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::map-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkWidget::motion-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::no-expose-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::parent-set ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@old_parent: + +<!-- ##### SIGNAL GtkWidget::popup-menu ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@Returns: + +<!-- ##### SIGNAL GtkWidget::property-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::proximity-in-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::proximity-out-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::realize ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::screen-changed ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkWidget::scroll-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::selection-clear-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::selection-get ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@data: +@info: +@time: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::selection-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::selection-received ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@data: +@time: +<!-- # Unused Parameters # --> +@time_: + +<!-- ##### SIGNAL GtkWidget::selection-request-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::show ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::show-help ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@arg1: +@Returns: + +<!-- ##### SIGNAL GtkWidget::size-allocate ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@allocation: + +<!-- ##### SIGNAL GtkWidget::size-request ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@requisition: + +<!-- ##### SIGNAL GtkWidget::state-changed ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@state: + +<!-- ##### SIGNAL GtkWidget::style-set ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@previous_style: + +<!-- ##### SIGNAL GtkWidget::unmap ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::unmap-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::unrealize ##### --> +<para> + +</para> + +@widget: the object which received the signal. + +<!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### SIGNAL GtkWidget::window-state-event ##### --> +<para> + +</para> + +@widget: the object which received the signal. +@event: +@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. + +<!-- ##### ARG GtkWidget:app-paintable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:can-default ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:can-focus ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:composite-child ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:events ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:extension-events ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:has-default ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:has-focus ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:height-request ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:is-focus ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:name ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:no-show-all ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:parent ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:receives-default ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:sensitive ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:style ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:visible ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:width-request ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:cursor-aspect-ratio ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:cursor-color ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:focus-line-pattern ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:focus-line-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:focus-padding ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:interior-focus ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWidget:secondary-cursor-color ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkwindow.sgml b/docs/reference/gtk/tmpl/gtkwindow.sgml index 0ee26fbb5f..7d1dde0e2b 100644 --- a/docs/reference/gtk/tmpl/gtkwindow.sgml +++ b/docs/reference/gtk/tmpl/gtkwindow.sgml @@ -20,152 +20,6 @@ Toplevel which can contain other widgets </para> -<!-- ##### SIGNAL GtkWindow::activate-default ##### --> -<para> - -</para> - -@window: the object which received the signal. - -<!-- ##### SIGNAL GtkWindow::activate-focus ##### --> -<para> - -</para> - -@window: the object which received the signal. - -<!-- ##### SIGNAL GtkWindow::frame-event ##### --> -<para> - -</para> - -@window: the object which received the signal. -@event: -@Returns: - -<!-- ##### SIGNAL GtkWindow::keys-changed ##### --> -<para> - -</para> - -@window: the object which received the signal. - -<!-- ##### SIGNAL GtkWindow::move-focus ##### --> -<para> - -</para> - -@window: the object which received the signal. -@arg1: - -<!-- ##### SIGNAL GtkWindow::set-focus ##### --> -<para> - -</para> - -@window: the object which received the signal. -@widget: - -<!-- ##### ARG GtkWindow:allow-grow ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:allow-shrink ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:decorated ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:default-height ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:default-width ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:destroy-with-parent ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:gravity ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:has-toplevel-focus ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:icon ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:is-active ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:modal ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:resizable ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:role ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:screen ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:skip-pager-hint ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:skip-taskbar-hint ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:title ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:type ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:type-hint ##### --> -<para> - -</para> - -<!-- ##### ARG GtkWindow:window-position ##### --> -<para> - -</para> - <!-- ##### FUNCTION gtk_window_new ##### --> <para> @@ -994,3 +848,149 @@ Deprecated alias for gtk_window_set_position(). @height: +<!-- ##### SIGNAL GtkWindow::activate-default ##### --> +<para> + +</para> + +@window: the object which received the signal. + +<!-- ##### SIGNAL GtkWindow::activate-focus ##### --> +<para> + +</para> + +@window: the object which received the signal. + +<!-- ##### SIGNAL GtkWindow::frame-event ##### --> +<para> + +</para> + +@window: the object which received the signal. +@event: +@Returns: + +<!-- ##### SIGNAL GtkWindow::keys-changed ##### --> +<para> + +</para> + +@window: the object which received the signal. + +<!-- ##### SIGNAL GtkWindow::move-focus ##### --> +<para> + +</para> + +@window: the object which received the signal. +@arg1: + +<!-- ##### SIGNAL GtkWindow::set-focus ##### --> +<para> + +</para> + +@window: the object which received the signal. +@widget: + +<!-- ##### ARG GtkWindow:allow-grow ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:allow-shrink ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:decorated ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:default-height ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:default-width ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:destroy-with-parent ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:gravity ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:has-toplevel-focus ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:icon ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:is-active ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:modal ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:resizable ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:role ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:screen ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:skip-pager-hint ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:skip-taskbar-hint ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:title ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:type ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:type-hint ##### --> +<para> + +</para> + +<!-- ##### ARG GtkWindow:window-position ##### --> +<para> + +</para> + diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c index 34015b888b..5fcefc25d8 100644 --- a/gtk/gtkseparatortoolitem.c +++ b/gtk/gtkseparatortoolitem.c @@ -36,26 +36,48 @@ #define MENU_ID "gtk-separator-tool-item-menu-id" -static void gtk_separator_tool_item_class_init (GtkSeparatorToolItemClass *class); -static gboolean gtk_separator_tool_item_create_menu_proxy (GtkToolItem *item); -static void gtk_separator_tool_item_size_request (GtkWidget *widget, - - GtkRequisition *requisition); -static gboolean gtk_separator_tool_item_expose (GtkWidget *widget, - GdkEventExpose *event); -static void gtk_separator_tool_item_add (GtkContainer *container, - GtkWidget *child); -static GtkToolbarSpaceStyle get_space_style (GtkToolItem *tool_item); -static gint get_space_size (GtkToolItem *tool_item); +enum { + PROP_0, + PROP_DRAW +}; + +static void gtk_separator_tool_item_class_init (GtkSeparatorToolItemClass *class); +static void gtk_separator_tool_item_init (GtkSeparatorToolItem *separator_item, + GtkSeparatorToolItemClass *class); +static gboolean gtk_separator_tool_item_create_menu_proxy (GtkToolItem *item); +static void gtk_separator_tool_item_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec); +static void gtk_separator_tool_item_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec); +static void gtk_separator_tool_item_size_request (GtkWidget *widget, + GtkRequisition *requisition); +static gboolean gtk_separator_tool_item_expose (GtkWidget *widget, + GdkEventExpose *event); +static void gtk_separator_tool_item_add (GtkContainer *container, + GtkWidget *child); +static GtkToolbarSpaceStyle get_space_style (GtkToolItem *tool_item); +static gint get_space_size (GtkToolItem *tool_item); + + static GObjectClass *parent_class = NULL; +#define GTK_SEPARATOR_TOOL_ITEM_GET_PRIVATE(obj)(G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemPrivate)) + +struct _GtkSeparatorToolItemPrivate +{ + guint draw : 1; +}; GType gtk_separator_tool_item_get_type (void) { static GType type = 0; - + if (!type) { static const GTypeInfo type_info = @@ -68,9 +90,9 @@ gtk_separator_tool_item_get_type (void) NULL, sizeof (GtkSeparatorToolItem), 0, /* n_preallocs */ - (GInstanceInitFunc) NULL, + (GInstanceInitFunc) gtk_separator_tool_item_init, }; - + type = g_type_register_static (GTK_TYPE_TOOL_ITEM, "GtkSeparatorToolItem", &type_info, 0); } @@ -82,14 +104,14 @@ get_space_style (GtkToolItem *tool_item) { GtkToolbarSpaceStyle space_style = DEFAULT_SPACE_STYLE; GtkWidget *parent = GTK_WIDGET (tool_item)->parent; - + if (GTK_IS_TOOLBAR (parent)) { gtk_widget_style_get (parent, "space_style", &space_style, NULL); } - + return space_style; } @@ -105,27 +127,49 @@ get_space_size (GtkToolItem *tool_item) "space_size", &space_size, NULL); } - + return space_size; } static void gtk_separator_tool_item_class_init (GtkSeparatorToolItemClass *class) { + GObjectClass *object_class; GtkContainerClass *container_class; GtkToolItemClass *toolitem_class; GtkWidgetClass *widget_class; - + parent_class = g_type_class_peek_parent (class); + object_class = (GObjectClass *)class; container_class = (GtkContainerClass *)class; toolitem_class = (GtkToolItemClass *)class; widget_class = (GtkWidgetClass *)class; + object_class->set_property = gtk_separator_tool_item_set_property; + object_class->get_property = gtk_separator_tool_item_get_property; widget_class->size_request = gtk_separator_tool_item_size_request; widget_class->expose_event = gtk_separator_tool_item_expose; toolitem_class->create_menu_proxy = gtk_separator_tool_item_create_menu_proxy; - + container_class->add = gtk_separator_tool_item_add; + + g_object_class_install_property (object_class, + PROP_DRAW, + g_param_spec_boolean ("draw", + _("Draw"), + _("Whether the separator is drawn, or just blank"), + TRUE, + G_PARAM_READWRITE)); + + g_type_class_add_private (object_class, sizeof (GtkSeparatorToolItemPrivate)); +} + +static void +gtk_separator_tool_item_init (GtkSeparatorToolItem *separator_item, + GtkSeparatorToolItemClass *class) +{ + separator_item->priv = GTK_SEPARATOR_TOOL_ITEM_GET_PRIVATE (separator_item); + separator_item->priv->draw = TRUE; } static void @@ -148,12 +192,50 @@ gtk_separator_tool_item_create_menu_proxy (GtkToolItem *item) } static void +gtk_separator_tool_item_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + GtkSeparatorToolItem *item = GTK_SEPARATOR_TOOL_ITEM (object); + + switch (prop_id) + { + case PROP_DRAW: + gtk_separator_tool_item_set_draw (item, g_value_get_boolean (value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + +static void +gtk_separator_tool_item_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + GtkSeparatorToolItem *item = GTK_SEPARATOR_TOOL_ITEM (object); + + switch (prop_id) + { + case PROP_DRAW: + g_value_set_boolean (value, gtk_separator_tool_item_get_draw (item)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + +static void gtk_separator_tool_item_size_request (GtkWidget *widget, GtkRequisition *requisition) { GtkToolItem *item = GTK_TOOL_ITEM (widget); GtkOrientation orientation = gtk_tool_item_get_orientation (item); - + if (orientation == GTK_ORIENTATION_HORIZONTAL) { requisition->width = get_space_size (item); @@ -171,18 +253,20 @@ gtk_separator_tool_item_expose (GtkWidget *widget, GdkEventExpose *event) { GtkToolItem *tool_item = GTK_TOOL_ITEM (widget); + GtkSeparatorToolItem *separator_tool_item = GTK_SEPARATOR_TOOL_ITEM (widget); gint space_size; GtkAllocation *allocation; GtkOrientation orientation; GdkRectangle *area; - if (get_space_style (tool_item) == GTK_TOOLBAR_SPACE_LINE) + if (separator_tool_item->priv->draw && + get_space_style (tool_item) == GTK_TOOLBAR_SPACE_LINE) { space_size = get_space_size (tool_item); allocation = &(widget->allocation); orientation = gtk_tool_item_get_orientation (tool_item); area = &(event->area); - + if (orientation == GTK_ORIENTATION_HORIZONTAL) { gtk_paint_vline (widget->style, widget->window, @@ -207,7 +291,7 @@ gtk_separator_tool_item_expose (GtkWidget *widget, } } - return TRUE; + return FALSE; } /** @@ -223,9 +307,58 @@ GtkToolItem * gtk_separator_tool_item_new (void) { GtkToolItem *self; - + self = g_object_new (GTK_TYPE_SEPARATOR_TOOL_ITEM, NULL); return self; } + +/** + * gtk_separator_tool_item_get_draw: + * @separator_tool_item: a #GtkSeparatorToolItem + * + * Returns whether @separator_tool_item is drawn as a + * line, or just blank. See gtk_separator_tool_item_set_draw(). + * + * Return value: #TRUE if @separator_tool_item is drawn as a line, or just blank. + * + * Since: 2.4 + **/ +gboolean +gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *separator_tool_item) +{ + g_return_val_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (separator_tool_item), FALSE); + + return separator_tool_item->priv->draw; +} + +/** + * gtk_separator_tool_item_set_draw: + * @separator_tool_item: a #GtkSeparatorToolItem + * @draw: whether @separator_tool_item is drawn as a vertical iln + * + * When @separator_tool_items is drawn as a vertical line, or just blank. + * Setting this #FALSE along with gtk_tool_item_set_expand() is useful + * to create an item that forces following items to the end of the toolbar. + * + * Since: 2.4 + **/ +void +gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *separator_tool_item, + gboolean draw) +{ + g_return_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (separator_tool_item)); + + draw = draw != FALSE; + + if (draw != separator_tool_item->priv->draw) + { + separator_tool_item->priv->draw = draw; + + gtk_widget_queue_draw (GTK_WIDGET (separator_tool_item)); + + g_object_notify (G_OBJECT (separator_tool_item), "draw"); + } +} + diff --git a/gtk/gtkseparatortoolitem.h b/gtk/gtkseparatortoolitem.h index 952d1f9a8d..3a2fbdcfe8 100644 --- a/gtk/gtkseparatortoolitem.h +++ b/gtk/gtkseparatortoolitem.h @@ -33,12 +33,16 @@ G_BEGIN_DECLS #define GTK_IS_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM)) #define GTK_SEPARATOR_TOOL_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass)) -typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem; -typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass; +typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem; +typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass; +typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate; struct _GtkSeparatorToolItem { GtkToolItem parent; + + /*< private >*/ + GtkSeparatorToolItemPrivate *priv; }; struct _GtkSeparatorToolItemClass @@ -55,6 +59,10 @@ struct _GtkSeparatorToolItemClass GType gtk_separator_tool_item_get_type (void) G_GNUC_CONST; GtkToolItem *gtk_separator_tool_item_new (void); +gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item); +void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *tool_item, + gboolean draw); + G_END_DECLS #endif /* __GTK_SEPARATOR_TOOL_ITEM_H__ */ diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 81860a393c..42c318ecd1 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -72,8 +72,7 @@ enum { enum { CHILD_PROP_0, CHILD_PROP_EXPAND, - CHILD_PROP_HOMOGENEOUS, - CHILD_PROP_PACK_END, + CHILD_PROP_HOMOGENEOUS }; enum { @@ -220,6 +219,7 @@ struct _GtkToolbarPrivate gboolean leaving_dnd; gboolean in_dnd; gint n_overflow_items_when_dnd_started; + GtkToolItem *highlight_tool_item; }; static GtkContainerClass *parent_class = NULL; @@ -467,14 +467,6 @@ gtk_toolbar_class_init (GtkToolbarClass *klass) TRUE, G_PARAM_READWRITE)); - gtk_container_class_install_child_property (container_class, - CHILD_PROP_PACK_END, - g_param_spec_uint ("pack_end", - _("Pack End"), - _("Whether the item is positioned at the end of the toolbar"), - 0, G_MAXINT, 0, - G_PARAM_READWRITE)); - /* style properties */ gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("space_size", @@ -849,7 +841,6 @@ gtk_toolbar_size_request (GtkWidget *widget, gint max_homogeneous_child_height; gint homogeneous_size; gint long_req; - gint pack_end_size; gint pack_front_size; gint ipadding; GtkRequisition arrow_requisition; @@ -884,7 +875,6 @@ gtk_toolbar_size_request (GtkWidget *widget, else homogeneous_size = max_homogeneous_child_height; - pack_end_size = 0; pack_front_size = 0; for (list = priv->content; list != NULL; list = list->next) { @@ -911,10 +901,7 @@ gtk_toolbar_size_request (GtkWidget *widget, size = requisition.height; } - if (gtk_tool_item_get_pack_end (item)) - pack_end_size += size; - else - pack_front_size += size; + pack_front_size += size; } if (priv->show_arrow && priv->api_mode == NEW_API) @@ -929,14 +916,14 @@ gtk_toolbar_size_request (GtkWidget *widget, /* There is no point requesting space for the arrow if that would take * up more space than all the items combined */ - long_req = MIN (long_req, pack_front_size + pack_end_size); + long_req = MIN (long_req, pack_front_size); } else { arrow_requisition.height = 0; arrow_requisition.width = 0; - long_req = pack_end_size + pack_front_size; + long_req = pack_front_size; } if (toolbar->orientation == GTK_ORIENTATION_HORIZONTAL) @@ -1030,9 +1017,9 @@ gtk_toolbar_size_allocate (GtkWidget *widget, gint available_size; gint n_items; gint needed_size; - GList *content; GtkRequisition arrow_requisition; gint n_overflowed; + gboolean overflowing; widget->allocation = *allocation; @@ -1097,56 +1084,21 @@ gtk_toolbar_size_allocate (GtkWidget *widget, else size = available_size; - content = g_list_copy (priv->content); - n_overflowed = 0; - - /* calculate widths of pack end items */ - for (list = g_list_last (content), i = 0; list != NULL; list = list->prev, ++i) - { - ToolbarContent *content = list->data; - GtkToolItem *item = content->item; - GtkAllocation *allocation = &(allocations[n_items - i - 1]); - gint item_size; - - if (!gtk_tool_item_get_pack_end (item) || - !toolbar_item_visible (toolbar, item)) - continue; - - item_size = get_item_size (toolbar, GTK_WIDGET (item)); - if (item_size <= size) - { - size -= item_size; - allocation->width = item_size; - content->is_overflow = FALSE; - } - else - { - while (list) - { - content = list->data; - item = content->item; - if (gtk_tool_item_get_pack_end (item)) - content->is_overflow = TRUE; - ++n_overflowed; - list = list->prev; - } - break; - } - } /* calculate widths of pack front items */ - for (list = content, i = 0; list != NULL; list = list->next, ++i) + overflowing = FALSE; + for (list = priv->content, i = 0; list != NULL; list = list->next, ++i) { ToolbarContent *content = list->data; GtkToolItem *item = content->item; gint item_size; - if (gtk_tool_item_get_pack_end (item) || !toolbar_item_visible (toolbar, item)) + if (!toolbar_item_visible (toolbar, item)) continue; item_size = get_item_size (toolbar, GTK_WIDGET (item)); - if (item_size <= size) + if (item_size <= size && !overflowing) { size -= item_size; allocations[i].width = item_size; @@ -1154,16 +1106,9 @@ gtk_toolbar_size_allocate (GtkWidget *widget, } else { - while (list) - { - content = list->data; - item = content->item; - if (!gtk_tool_item_get_pack_end (item)) - content->is_overflow = TRUE; - ++n_overflowed; - list = list->next; - } - break; + ++n_overflowed; + content->is_overflow = TRUE; + overflowing = TRUE; } } @@ -1190,21 +1135,20 @@ gtk_toolbar_size_allocate (GtkWidget *widget, if (toolbar_item_visible (toolbar, item) && gtk_tool_item_get_expand (item) && - !content->is_overflow && - !GTK_IS_SEPARATOR_TOOL_ITEM (item)) + !content->is_overflow) { n_expand_items++; } } - for (list = content, i = 0; list != NULL; list = list->next, ++i) + for (list = priv->content, i = 0; list != NULL; list = list->next, ++i) { ToolbarContent *content = list->data; GtkToolItem *item = content->item; - if (toolbar_item_visible (toolbar, item) && gtk_tool_item_get_expand (item) && - !content->is_overflow && - !GTK_IS_SEPARATOR_TOOL_ITEM (item)) + if (toolbar_item_visible (toolbar, item) && + gtk_tool_item_get_expand (item) && + !content->is_overflow) { gint extra = size / n_expand_items; if (size % n_expand_items != 0) @@ -1219,16 +1163,14 @@ gtk_toolbar_size_allocate (GtkWidget *widget, g_assert (n_expand_items == 0); } - /* position pack front items */ + /* position regular items */ pos = border_width; - for (list = content, i = 0; list != NULL; list = list->next, ++i) + for (list = priv->content, i = 0; list != NULL; list = list->next, ++i) { ToolbarContent *content = list->data; GtkToolItem *item = content->item; - if (toolbar_item_visible (toolbar, item) && - !content->is_overflow && - !gtk_tool_item_get_pack_end (item)) + if (toolbar_item_visible (toolbar, item) && !content->is_overflow) { allocations[i].x = pos; allocations[i].y = border_width; @@ -1238,31 +1180,10 @@ gtk_toolbar_size_allocate (GtkWidget *widget, } } - /* position pack end items */ - pos = available_size + border_width; - for (list = g_list_last (content), i = 0; list != NULL; list = list->prev, ++i) - { - ToolbarContent *content = list->data; - GtkToolItem *item = content->item; - - if (toolbar_item_visible (toolbar, item) && - !content->is_overflow && - gtk_tool_item_get_pack_end (item)) - { - GtkAllocation *allocation = &(allocations[n_items - i - 1]); - - allocation->x = pos - allocation->width; - allocation->y = border_width; - allocation->height = short_size; - - pos -= allocation->width; - } - } - /* position arrow */ if (need_arrow) { - arrow_allocation.x = pos - arrow_allocation.width; + arrow_allocation.x = available_size - border_width - arrow_allocation.width; arrow_allocation.y = border_width; } @@ -1310,7 +1231,7 @@ gtk_toolbar_size_allocate (GtkWidget *widget, } /* finally allocate the items */ - for (list = content, i = 0; list != NULL; list = list->next, i++) + for (list = priv->content, i = 0; list != NULL; list = list->next, i++) { ToolbarContent *content = list->data; GtkToolItem *item = content->item; @@ -1338,7 +1259,6 @@ gtk_toolbar_size_allocate (GtkWidget *widget, } g_free (allocations); - g_list_free (content); } static void @@ -1385,21 +1305,12 @@ gtk_toolbar_list_children_in_focus_order (GtkToolbar *toolbar, { ToolbarContent *content = list->data; GtkToolItem *item = content->item; - if (!gtk_tool_item_get_pack_end (item)) - result = g_list_prepend (result, item); + + result = g_list_prepend (result, item); } result = g_list_prepend (result, priv->arrow_button); - for (list = priv->content; list != NULL; list = list->next) - { - ToolbarContent *content = list->data; - GtkToolItem *item = content->item; - - if (gtk_tool_item_get_pack_end (item)) - result = g_list_prepend (result, item); - } - rtl = (gtk_widget_get_direction (GTK_WIDGET (toolbar)) == GTK_TEXT_DIR_RTL); /* move in logical order when @@ -1621,12 +1532,8 @@ find_drop_index (GtkToolbar *toolbar, ToolbarContent *content = list->data; GtkToolItem *item = content->item; - if (!gtk_tool_item_get_pack_end (item) && - toolbar_item_visible (toolbar, item) && - !content->is_overflow) - { - interesting_content = g_list_prepend (interesting_content, content); - } + if (toolbar_item_visible (toolbar, item) && !content->is_overflow) + interesting_content = g_list_prepend (interesting_content, content); } interesting_content = g_list_reverse (interesting_content); @@ -1806,8 +1713,6 @@ update_dnd_animation (gpointer data) gtk_widget_queue_resize_no_redraw (GTK_WIDGET (toolbar)); - GDK_THREADS_LEAVE(); - if (!cont) { priv->idle_id = 0; @@ -1818,9 +1723,13 @@ update_dnd_animation (gpointer data) priv->n_overflow_items_when_dnd_started = 0; } + GDK_THREADS_LEAVE(); + return FALSE; } + GDK_THREADS_LEAVE(); + return TRUE; } @@ -1854,19 +1763,117 @@ reset_all_placeholders (GtkToolbar *toolbar) g_timer_reset (priv->timer); } +static gint +physical_to_logical (GtkToolbar *toolbar, gint physical) +{ + GtkToolbarPrivate *priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); + GList *list; + int logical; + + g_assert (physical >= 0); + + logical = 0; + for (list = priv->content; list && physical > 0; list = list->next) + { + ToolbarContent *content = list->data; + + if (!content->is_placeholder) + logical++; + physical--; + } + + g_assert (physical == 0); + + return logical; +} + +static gint +logical_to_physical (GtkToolbar *toolbar, gint logical) +{ + GtkToolbarPrivate *priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); + GList *list; + gint physical; + + g_assert (logical >= 0); + + physical = 0; + for (list = priv->content; list && logical > 0; list = list->next) + { + ToolbarContent *content = list->data; + + if (!content->is_placeholder) + logical--; + physical++; + } + + g_assert (logical == 0); + return physical; +} + +static void +get_item_requisition (GtkToolbar *toolbar, + GtkToolItem *tool_item, + gint *width, + gint *height) +{ + GtkRequisition requisition; + + g_object_ref (G_OBJECT (tool_item)); + gtk_widget_set_parent (GTK_WIDGET (tool_item), GTK_WIDGET (toolbar)); + + gtk_widget_size_request (GTK_WIDGET (tool_item), &requisition); + *width = requisition.width; + *height = requisition.height; + + gtk_widget_unparent (GTK_WIDGET (tool_item)); + g_object_unref (G_OBJECT (tool_item)); +} + +/** + * gtk_toolbar_highlight_drop_location: + * @toolbar: a #GtkToolbar + * @index: the toolbar position to highlight, or -1 + * @tool_item: a #GtkToolbar that isn't part of a widget hierarchy + * + * Highlights the position on the toolbar indicated by @index to give + * an idea of how @toolbar would look if @tool_item was added to it at + * @index. + * + * After calling this function gtk_toolbar_unhighlight_drop_location() must + * be called before @tool_item can be added to any widget hierarchy. + * + * Since: 2.4 + **/ void -gtk_toolbar_highlight_drop_location (GtkToolbar *toolbar, - gint x, - gint y, - gint width, - gint height) +gtk_toolbar_highlight_drop_location (GtkToolbar *toolbar, + gint index, + GtkToolItem *tool_item) { - gint index; ToolbarContent *content; - GtkToolbarPrivate *priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); + GtkToolbarPrivate *priv; gint start_width, start_height; GList *list; + gint n_items; + GtkRequisition requisition; + + g_return_if_fail (GTK_IS_TOOLBAR (toolbar)); + g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item)); + + priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); + + if (tool_item != priv->highlight_tool_item) + { + if (priv->highlight_tool_item) + g_object_unref (priv->highlight_tool_item); + + gtk_object_sink (GTK_OBJECT (g_object_ref (tool_item))); + priv->highlight_tool_item = tool_item; + + gtk_widget_set_parent (GTK_WIDGET (priv->highlight_tool_item), + GTK_WIDGET (toolbar)); + } + if (!priv->in_dnd) { priv->n_overflow_items_when_dnd_started = 0; @@ -1880,9 +1887,13 @@ gtk_toolbar_highlight_drop_location (GtkToolbar *toolbar, priv->in_dnd = TRUE; priv->leaving_dnd = FALSE; - - index = find_drop_index (toolbar, x, y); + n_items = gtk_toolbar_get_n_items (toolbar); + if (index < 0 || index > n_items) + index = n_items; + + index = logical_to_physical (toolbar, index); + content = g_list_nth_data (priv->content, index); if (index > 0) @@ -1913,17 +1924,20 @@ gtk_toolbar_highlight_drop_location (GtkToolbar *toolbar, g_assert (content); g_assert (content->is_placeholder); + gtk_widget_size_request (GTK_WIDGET (priv->highlight_tool_item), + &requisition); + if (content->start_width != start_width || content->start_height != start_height || - content->goal_width != width || - content->goal_height != height) + content->goal_width != requisition.width || + content->goal_height != requisition.height) { reset_all_placeholders (toolbar); content->start_width = start_width; - content->goal_width = width; + content->goal_width = requisition.width; content->start_height = start_height; - content->goal_height = height; + content->goal_height = requisition.height; ensure_idle_handler (toolbar); } @@ -1937,6 +1951,13 @@ gtk_toolbar_unhighlight_drop_location (GtkToolbar *toolbar) priv->leaving_dnd = TRUE; reset_all_placeholders (toolbar); ensure_idle_handler (toolbar); + + if (priv->highlight_tool_item) + { + gtk_widget_unparent (GTK_WIDGET (priv->highlight_tool_item)); + g_object_unref (priv->highlight_tool_item); + priv->highlight_tool_item = NULL; + } } static void @@ -1950,10 +1971,6 @@ gtk_toolbar_get_child_property (GtkContainer *container, switch (property_id) { - case CHILD_PROP_PACK_END: - g_value_set_boolean (value, gtk_tool_item_get_pack_end (item)); - break; - case CHILD_PROP_HOMOGENEOUS: g_value_set_boolean (value, gtk_tool_item_get_homogeneous (item)); break; @@ -1977,10 +1994,6 @@ gtk_toolbar_set_child_property (GtkContainer *container, { switch (property_id) { - case CHILD_PROP_PACK_END: - gtk_tool_item_set_pack_end (GTK_TOOL_ITEM (child), g_value_get_boolean (value)); - break; - case CHILD_PROP_HOMOGENEOUS: gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM (child), g_value_get_boolean (value)); break; @@ -1988,7 +2001,7 @@ gtk_toolbar_set_child_property (GtkContainer *container, case CHILD_PROP_EXPAND: gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM (child), g_value_get_boolean (value)); break; - + default: GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID (container, property_id, pspec); break; @@ -2369,56 +2382,6 @@ gtk_toolbar_check_new_api (GtkToolbar *toolbar) return TRUE; } -static gint -physical_to_logical (GtkToolbar *toolbar, gint physical) -{ - GtkToolbarPrivate *priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); - GList *list; - int logical; - - if (physical < 0) - return -1; - - logical = 0; - for (list = priv->content; list; list = list->next) - { - ToolbarContent *content = list->data; - - if (!physical) - return logical; - - if (!content->is_placeholder) - logical++; - physical--; - } - return -1; -} - -static gint -logical_to_physical (GtkToolbar *toolbar, gint logical) -{ - GtkToolbarPrivate *priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); - GList *list; - gint physical; - - if (logical < 0) - return -1; - - physical = 0; - for (list = priv->content; list; list = list->next) - { - ToolbarContent *content = list->data; - - if (!logical) - return physical; - - if (!content->is_placeholder) - logical--; - physical++; - } - return -1; -} - static void gtk_toolbar_insert_tool_item (GtkToolbar *toolbar, GtkToolItem *item, @@ -2524,8 +2487,10 @@ gtk_toolbar_insert (GtkToolbar *toolbar, if (!gtk_toolbar_check_new_api (toolbar)) return; - gtk_toolbar_insert_tool_item (toolbar, item, - logical_to_physical (toolbar, pos), FALSE); + if (pos >= 0) + pos = logical_to_physical (toolbar, pos); + + gtk_toolbar_insert_tool_item (toolbar, item, pos, FALSE); } /** @@ -2730,10 +2695,7 @@ gtk_toolbar_get_n_items (GtkToolbar *toolbar) priv = GTK_TOOLBAR_GET_PRIVATE (toolbar); - if (!priv->content) - return 0; - - return physical_to_logical (toolbar, g_list_length (priv->content) - 1); + return physical_to_logical (toolbar, g_list_length (priv->content)); } /** @@ -2952,10 +2914,10 @@ gtk_toolbar_get_drop_index (GtkToolbar *toolbar, gint y) { g_return_val_if_fail (GTK_IS_TOOLBAR (toolbar), FALSE); - + if (!gtk_toolbar_check_new_api (toolbar)) return -1; - + return physical_to_logical (toolbar, find_drop_index (toolbar, x, y)); } diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h index 0e0f50d557..ec61e8f609 100644 --- a/gtk/gtktoolbar.h +++ b/gtk/gtktoolbar.h @@ -45,7 +45,7 @@ #include <gtk/gtkpixmap.h> #include <gtk/gtksignal.h> -#endif +#endif /* GTK_DISABLE_DEPRECATED */ G_BEGIN_DECLS @@ -91,7 +91,8 @@ typedef struct _GtkToolbarPrivate GtkToolbarPrivate; struct _GtkToolbar { GtkContainer container; - + + /*< private >*/ gint num_children; GList *children; GtkOrientation orientation; @@ -115,9 +116,9 @@ struct _GtkToolbarClass GtkContainerClass parent_class; /* signals */ - void (* orientation_changed) (GtkToolbar *toolbar, + void (* orientation_changed) (GtkToolbar *toolbar, GtkOrientation orientation); - void (* style_changed) (GtkToolbar *toolbar, + void (* style_changed) (GtkToolbar *toolbar, GtkToolbarStyle style); gboolean (* popup_context_menu) (GtkToolbar *toolbar, gint x, @@ -140,29 +141,27 @@ gint gtk_toolbar_get_item_index (GtkToolbar *toolbar, gint gtk_toolbar_get_n_items (GtkToolbar *toolbar); GtkToolItem * gtk_toolbar_get_nth_item (GtkToolbar *toolbar, gint n); +gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); void gtk_toolbar_set_show_arrow (GtkToolbar *toolbar, gboolean show_arrow); +GtkOrientation gtk_toolbar_get_orientation (GtkToolbar *toolbar); void gtk_toolbar_set_orientation (GtkToolbar *toolbar, GtkOrientation orientation); +gboolean gtk_toolbar_get_tooltips (GtkToolbar *toolbar); void gtk_toolbar_set_tooltips (GtkToolbar *toolbar, gboolean enable); -gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); -GtkOrientation gtk_toolbar_get_orientation (GtkToolbar *toolbar); GtkToolbarStyle gtk_toolbar_get_style (GtkToolbar *toolbar); -GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); -gboolean gtk_toolbar_get_tooltips (GtkToolbar *toolbar); -GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); void gtk_toolbar_set_style (GtkToolbar *toolbar, GtkToolbarStyle style); void gtk_toolbar_unset_style (GtkToolbar *toolbar); +GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); +GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); gint gtk_toolbar_get_drop_index (GtkToolbar *toolbar, gint x, gint y); void gtk_toolbar_highlight_drop_location (GtkToolbar *toolbar, - gint x, - gint y, - gint width, - gint height); + gint index, + GtkToolItem *tool_item); void gtk_toolbar_unhighlight_drop_location (GtkToolbar *toolbar); diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index 8ec7a0ad2a..e7ac11a536 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -54,7 +54,6 @@ struct _GtkToolItemPrivate guint visible_vertical : 1; guint homogeneous : 1; guint expand : 1; - guint pack_end : 1; guint use_drag_window : 1; guint is_important : 1; @@ -672,52 +671,6 @@ gtk_tool_item_get_expand (GtkToolItem *tool_item) } /** - * gtk_tool_item_set_pack_end: - * @tool_item: a #GtkToolItem: - * @pack_end: whether @tool_item is allocated at the end of the toolbar. - * - * Sets whether @tool_item is allocated at the end of the toolbar. This is - * useful for #GtkToolItem<!-- -->s that are used as "throbbers" in - * web-browser-type applications. - * - * Since: 2.4 - **/ -void -gtk_tool_item_set_pack_end (GtkToolItem *tool_item, - gboolean pack_end) -{ - g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item)); - - pack_end = pack_end != FALSE; - - if (tool_item->priv->pack_end != pack_end) - { - tool_item->priv->pack_end = pack_end; - gtk_widget_child_notify (GTK_WIDGET (tool_item), "pack_end"); - gtk_widget_queue_resize (GTK_WIDGET (tool_item)); - } -} - -/** - * gtk_tool_item_get_pack_end: - * @tool_item: a #GtkToolItem: - * - * Returns whether @tool_item is packed at the end of the toolbar. - * See gtk_tool_item_set_pack_end(). - * - * Return value: %TRUE if @tool_item is packed at the end of the toolbar. - * - * Since: 2.4 - **/ -gboolean -gtk_tool_item_get_pack_end (GtkToolItem *tool_item) -{ - g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item), FALSE); - - return tool_item->priv->pack_end; -} - -/** * gtk_tool_item_set_homogeneous: * @tool_item: a #GtkToolItem: * @homogeneous: whether @tool_item is the same size as other homogeneous items diff --git a/gtk/gtktoolitem.h b/gtk/gtktoolitem.h index d5a6f8c225..5c29701c7a 100644 --- a/gtk/gtktoolitem.h +++ b/gtk/gtktoolitem.h @@ -78,10 +78,6 @@ void gtk_tool_item_set_expand (GtkToolItem *tool_item, gboolean expand); gboolean gtk_tool_item_get_expand (GtkToolItem *tool_item); -void gtk_tool_item_set_pack_end (GtkToolItem *tool_item, - gboolean pack_end); -gboolean gtk_tool_item_get_pack_end (GtkToolItem *tool_item); - void gtk_tool_item_set_tooltip (GtkToolItem *tool_item, GtkTooltips *tooltips, const gchar *tip_text, |