diff options
Diffstat (limited to 'docs/reference/gtk')
-rw-r--r-- | docs/reference/gtk/gtk-docs.sgml | 2 | ||||
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 19 | ||||
-rw-r--r-- | docs/reference/gtk/gtk.types | 1 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtk-unused.sgml | 36 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkbbox.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkcontainer.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkhscale.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkhscrollbar.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkpaned.sgml | 10 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkrange.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkrc.sgml | 1 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtksizegroup.sgml | 112 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtktogglebutton.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml | 8 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkvscale.sgml | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkvscrollbar.sgml | 5 |
16 files changed, 200 insertions, 29 deletions
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml index bbc1d256df..a86aa9b958 100644 --- a/docs/reference/gtk/gtk-docs.sgml +++ b/docs/reference/gtk/gtk-docs.sgml @@ -75,6 +75,7 @@ <!entity GtkScrollbar SYSTEM "sgml/gtkscrollbar.sgml"> <!entity GtkScrolledWindow SYSTEM "sgml/gtkscrolledwindow.sgml"> <!entity GtkSeparator SYSTEM "sgml/gtkseparator.sgml"> +<!entity GtkSizeGroup SYSTEM "sgml/gtksizegroup.sgml"> <!entity GtkSocket SYSTEM "sgml/gtksocket.sgml"> <!entity GtkSpinButton SYSTEM "sgml/gtkspinbutton.sgml"> <!entity GtkStatusbar SYSTEM "sgml/gtkstatusbar.sgml"> @@ -352,6 +353,7 @@ An advanced widget set. &GtkHandleBox; &GtkIMContext; &GtkIMMulticontext; + &GtkSizeGroup; &GtkTooltips; &GtkViewport; </sect1> diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 455a2052a0..4dfa32fc38 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -1917,7 +1917,24 @@ GTK_TYPE_SETTINGS gtk_settings_get_type </SECTION> - +<SECTION> +<FILE>gtksizegroup</FILE> +<TITLE>GtkSizeGroup</TITLE> +GtkSizeGroupMode +gtk_size_group_new +gtk_size_group_set_mode +gtk_size_group_get_mode +gtk_size_group_add_widget +gtk_size_group_remove_widget +<SUBSECTION Standard> +GTK_SIZE_GROUP +GTK_IS_SIZE_GROUP +GTK_TYPE_SIZE_GROUP +gtk_size_group_get_type +GTK_SIZE_GROUP_CLASS +GTK_IS_SIZE_GROUP_CLASS +GTK_SIZE_GROUP_GET_CLASS +</SECTION> <SECTION> <FILE>gtksocket</FILE> diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types index 54b1e81c82..a3d7a8f628 100644 --- a/docs/reference/gtk/gtk.types +++ b/docs/reference/gtk/gtk.types @@ -73,6 +73,7 @@ gtk_scale_get_type gtk_scrollbar_get_type gtk_scrolled_window_get_type gtk_separator_get_type +gtk_size_group_get_type gtk_socket_get_type gtk_spin_button_get_type gtk_statusbar_get_type diff --git a/docs/reference/gtk/tmpl/gtk-unused.sgml b/docs/reference/gtk/tmpl/gtk-unused.sgml index 4cb131d8ce..b39f073487 100644 --- a/docs/reference/gtk/tmpl/gtk-unused.sgml +++ b/docs/reference/gtk/tmpl/gtk-unused.sgml @@ -301,6 +301,18 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN @a: +<!-- ##### ARG GtkAccelLabel:accel-width ##### --> +<para> + +</para> + + +<!-- ##### ARG GtkContainer:reallocate-redraws ##### --> +<para> + +</para> + + <!-- ##### STRUCT GtkData ##### --> <para> The #GtkData-struct struct contains no public fields. @@ -540,6 +552,18 @@ gtk_font_selection_set_filter(). </para> +<!-- ##### ARG GtkHScale:adjustment ##### --> +<para> +the #GtkAdjustment which sets the range of the scale. +</para> + + +<!-- ##### ARG GtkHScrollbar:adjustment ##### --> +<para> + +</para> + + <!-- ##### STRUCT GtkIMContextSimple ##### --> <para> @@ -723,6 +747,18 @@ produce superscript and subscript. </para> +<!-- ##### ARG GtkVScale:adjustment ##### --> +<para> +the #GtkAdjustment which sets the range of the scale. +</para> + + +<!-- ##### ARG GtkVScrollbar:adjustment ##### --> +<para> + +</para> + + <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### --> <para> diff --git a/docs/reference/gtk/tmpl/gtkbbox.sgml b/docs/reference/gtk/tmpl/gtkbbox.sgml index 07185209dd..8e57ef0d56 100644 --- a/docs/reference/gtk/tmpl/gtkbbox.sgml +++ b/docs/reference/gtk/tmpl/gtkbbox.sgml @@ -150,3 +150,8 @@ box. @ipad_y: the vertical padding that should be used by each button in @widget. +<!-- ##### ARG GtkButtonBox:layout-style ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkcontainer.sgml b/docs/reference/gtk/tmpl/gtkcontainer.sgml index 5fd8635c62..81b031484b 100644 --- a/docs/reference/gtk/tmpl/gtkcontainer.sgml +++ b/docs/reference/gtk/tmpl/gtkcontainer.sgml @@ -422,8 +422,3 @@ GtkContainer </para> -<!-- ##### ARG GtkContainer:reallocate-redraws ##### --> -<para> - -</para> - diff --git a/docs/reference/gtk/tmpl/gtkhscale.sgml b/docs/reference/gtk/tmpl/gtkhscale.sgml index e23b095834..60a554e47f 100644 --- a/docs/reference/gtk/tmpl/gtkhscale.sgml +++ b/docs/reference/gtk/tmpl/gtkhscale.sgml @@ -37,8 +37,3 @@ Creates a new #GtkHScale. @Returns: a new #GtkHScale. -<!-- ##### ARG GtkHScale:adjustment ##### --> -<para> -the #GtkAdjustment which sets the range of the scale. -</para> - diff --git a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml index 5317f3eae9..e29afd25fd 100644 --- a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml +++ b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml @@ -33,8 +33,3 @@ Creates a new horizontal scrollbar. @Returns: the new GTKHScrollbar -<!-- ##### ARG GtkHScrollbar:adjustment ##### --> -<para> - -</para> - diff --git a/docs/reference/gtk/tmpl/gtkpaned.sgml b/docs/reference/gtk/tmpl/gtkpaned.sgml index 214980a40e..f3f8f1df49 100644 --- a/docs/reference/gtk/tmpl/gtkpaned.sgml +++ b/docs/reference/gtk/tmpl/gtkpaned.sgml @@ -168,3 +168,13 @@ Set the width of the gutter. (The area between the two panes). @Returns: +<!-- ##### ARG GtkPaned:position ##### --> +<para> + +</para> + +<!-- ##### ARG GtkPaned:position-set ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkrange.sgml b/docs/reference/gtk/tmpl/gtkrange.sgml index 63fb9f0f6f..349085ee4e 100644 --- a/docs/reference/gtk/tmpl/gtkrange.sgml +++ b/docs/reference/gtk/tmpl/gtkrange.sgml @@ -79,3 +79,8 @@ GtkRange </para> +<!-- ##### ARG GtkRange:adjustment ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtkrc.sgml b/docs/reference/gtk/tmpl/gtkrc.sgml index 88a0a4a507..aeceb3e5ec 100644 --- a/docs/reference/gtk/tmpl/gtkrc.sgml +++ b/docs/reference/gtk/tmpl/gtkrc.sgml @@ -495,7 +495,6 @@ This can later be composited together with other #GtkRcStyle structures to form a #GtkStyle. </para> -@parent_instance: @name: @bg_pixmap_name: @font_desc: diff --git a/docs/reference/gtk/tmpl/gtksizegroup.sgml b/docs/reference/gtk/tmpl/gtksizegroup.sgml new file mode 100644 index 0000000000..70783a970f --- /dev/null +++ b/docs/reference/gtk/tmpl/gtksizegroup.sgml @@ -0,0 +1,112 @@ +<!-- ##### SECTION Title ##### --> +GtkSizeGroup + +<!-- ##### SECTION Short_Description ##### --> +Grouping widgets so they request the same size + +<!-- ##### SECTION Long_Description ##### --> +<para> +#GtkSizeGroup provides a mechanism for grouping a number of widgets +together so they all request the same amount of space. This is +typically useful when you want a column of widgets to have the same +size, but you can't use a #GtkTable widget. +</para> +<para> +In detail, the size requested for each widget in a #GtkSizeGroup is +the maximum of the sizes that would have been requested for each +widget in the size group if they were not in the size group. The mode +of the size group (see gtk_size_group_set_mode()) determines whether +this applies to the horizontal size, the vertical size, or both sizes. +</para> +<para> +Note that size groups only affect the amount of space requested, not +the size that the widgets finally receive. If you want the widgets in +a #GtkSizeGroup to actually be the same size, you need to pack them in +such a way that they get the size they request and not more. For +example, if you are packing your widgets into a table, you would not +include the %GTK_FILL flag. +</para> +<para> +#GtkSizeGroup objects are referenced by each widget in the size group, +so once you have added all widgets to a #GtkSizeGroup, you can drop +the initial reference to the size group with g_object_unref(). If the +widgets in the size group are subsequently destroyed, then they will +be removed from the size group and drop their references on the size +group; when all widgets have been removed, the size group will be +freed. +</para> +<para> +Widgets can be part of multiple size groups; GTK+ will compute the +horizontal size of a widget from the horizontal requisition of all +widgets that can be reached from the widget by a chain of size groups +of type %GTK_SIZE_GROUP_HORIZONTAL or %GTK_SIZE_GROUP_BOTH, and the +vertical size from the vertical requisition of all widgets that can be +reached from the widget by a chain of size groups of type +%GTK_SIZE_GROUP_VERTICAL or %GTK_SIZE_GROUP_BOTH. +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### ENUM GtkSizeGroupMode ##### --> +<para> + +</para> + +@GTK_SIZE_GROUP_NONE: +@GTK_SIZE_GROUP_HORIZONTAL: +@GTK_SIZE_GROUP_VERTICAL: +@GTK_SIZE_GROUP_BOTH: + +<!-- ##### FUNCTION gtk_size_group_new ##### --> +<para> + +</para> + +@mode: +@Returns: + + +<!-- ##### FUNCTION gtk_size_group_set_mode ##### --> +<para> + +</para> + +@size_group: +@type: + + +<!-- ##### FUNCTION gtk_size_group_get_mode ##### --> +<para> + +</para> + +@size_group: +@Returns: + + +<!-- ##### FUNCTION gtk_size_group_add_widget ##### --> +<para> + +</para> + +@size_group: +@widget: + + +<!-- ##### FUNCTION gtk_size_group_remove_widget ##### --> +<para> + +</para> + +@size_group: +@widget: + + +<!-- ##### ARG GtkSizeGroup:mode ##### --> +<para> + +</para> + diff --git a/docs/reference/gtk/tmpl/gtktogglebutton.sgml b/docs/reference/gtk/tmpl/gtktogglebutton.sgml index 15a339be11..fecc48fb61 100644 --- a/docs/reference/gtk/tmpl/gtktogglebutton.sgml +++ b/docs/reference/gtk/tmpl/gtktogglebutton.sgml @@ -174,6 +174,11 @@ Should be connected if you wish to perform an action whenever the Sets whether the toggle button should be pressed in or not. </para> +<!-- ##### ARG GtkToggleButton:inconsistent ##### --> +<para> + +</para> + <!-- ##### ARG GtkToggleButton:draw-indicator ##### --> <para> A value of TRUE causes the toggle button to be invisible. FALSE displays it diff --git a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml index 68e43c4aac..768a600491 100644 --- a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml +++ b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml @@ -34,8 +34,10 @@ GtkTreeViewColumn @alignment: @window: @xalign: -@model_changed_signal: +@property_changed_signal: +@clickable_signal: @width: +@requested_width: @min_width: @max_width: @displayed_width: @@ -53,7 +55,7 @@ GtkTreeViewColumn @sort_column_id: @sort_order: @visible: -@button_active: +@clickable: @dirty: @show_sort_indicator: @maybe_reordered: @@ -239,6 +241,8 @@ GtkTreeViewColumn </para> @tree_column: +@clickable: +<!-- # Unused Parameters # --> @active: diff --git a/docs/reference/gtk/tmpl/gtkvscale.sgml b/docs/reference/gtk/tmpl/gtkvscale.sgml index 81a6ffa294..5e111ac40f 100644 --- a/docs/reference/gtk/tmpl/gtkvscale.sgml +++ b/docs/reference/gtk/tmpl/gtkvscale.sgml @@ -37,8 +37,3 @@ Creates a new #GtkVScale. @Returns: a new #GtkVScale. -<!-- ##### ARG GtkVScale:adjustment ##### --> -<para> -the #GtkAdjustment which sets the range of the scale. -</para> - diff --git a/docs/reference/gtk/tmpl/gtkvscrollbar.sgml b/docs/reference/gtk/tmpl/gtkvscrollbar.sgml index 758fd43349..36837e20e7 100644 --- a/docs/reference/gtk/tmpl/gtkvscrollbar.sgml +++ b/docs/reference/gtk/tmpl/gtkvscrollbar.sgml @@ -33,8 +33,3 @@ Creates a new vertical scrollbar. @Returns: the new GTKVScrollbar -<!-- ##### ARG GtkVScrollbar:adjustment ##### --> -<para> - -</para> - |