A bunch of trivial doc fixes.

This commit is contained in:
Matthias Clasen 2002-04-20 23:57:41 +00:00
parent 1fe30c2cf6
commit 4138ac479b
17 changed files with 2639 additions and 1605 deletions

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

View File

@ -1,3 +1,15 @@
2002-04-21 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
description of match_start and match_end return values. (#57929)
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
* gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
comment markers on freeform comments.
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c: add "selected_shadow_type" style property

File diff suppressed because it is too large Load Diff

View File

@ -244,10 +244,10 @@ Changes the contents of a property on a window.
@window: a #GdkWindow.
@property: the property to change.
@type: the new type for the property. If @mode is
%GDK_PROP_MODE_REPLACE or %GDK_PROP_MODE_APPEND, then this
%GDK_PROP_MODE_PREPEND or %GDK_PROP_MODE_APPEND, then this
must match the existing type or an error will occur.
@format: the new format for the property. If @mode is
%GDK_PROP_MODE_REPLACE or %GDK_PROP_MODE_APPEND, then this
%GDK_PROP_MODE_PREPEND or %GDK_PROP_MODE_APPEND, then this
must match the existing format or an error will occur.
@mode: a value describing how the new data is to be combined
with the current data.

View File

@ -3447,6 +3447,7 @@ gtk_vseparator_get_type
<FILE>gtkwidget</FILE>
<TITLE>GtkWidget</TITLE>
GtkWidget
GtkWidgetClass
GtkWidgetFlags
GTK_WIDGET_TYPE
GTK_WIDGET_STATE

View File

@ -170,6 +170,7 @@ For other attributes there are dedicated methods on
<informalexample><programlisting>
GtkWidget *view;
GtkTextBuffer *buffer;
GtkTextIter start, end;
PangoFontDescription *font_desc;
GdkColor color;
GtkTextTag *tag;
@ -187,7 +188,7 @@ For other attributes there are dedicated methods on
/* Change default color throughout the widget */
gdk_color_parse ("green", &amp;color);
gtk_widget_modify_fg (view, GTK_STATE_NORMAL, &amp;color);
gtk_widget_modify_text (view, GTK_STATE_NORMAL, &amp;color);
/* Change left margin throughout the widget */
gtk_text_view_set_left_margin (GTK_TEXT_VIEW (view), 30);

View File

@ -82,7 +82,7 @@ void quick_message (gchar *message) {
dialog = gtk_dialog_new_with_buttons ("Message",
main_application_window,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_BUTTON_OK,
GTK_STOCK_OK,
GTK_RESPONSE_NONE,
NULL);
label = gtk_label_new (message);

View File

@ -38,7 +38,7 @@ for(i = 0; i < 5; i++)
<listitem><para>because a radio menu item is a menu item.</para></listitem>
</varlistentry>
<varlistentry>
<term>#GtkCheckItem</term>
<term>#GtkCheckMenuItem</term>
<listitem><para>to know how to handle the check.</para></listitem>
</varlistentry>
</variablelist>

View File

@ -190,7 +190,7 @@ enum
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkTreeView, #GtkTreeStore, #GtkListStore, #GtkTreeDnd, #GtkTreeSortable
#GtkTreeView, #GtkTreeStore, #GtkListStore, <link linkend="gtk-GtkTreeView-drag-and-drop">GtkTreeDnd</link>, #GtkTreeSortable
</para>
<!-- ##### STRUCT GtkTreeModel ##### -->

View File

@ -20,6 +20,12 @@ GtkWidget
</para>
<!-- ##### STRUCT GtkWidgetClass ##### -->
<para>
</para>
<!-- ##### ENUM GtkWidgetFlags ##### -->
<para>
Tells about certain properties of the widget.
@ -929,7 +935,12 @@ Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
<!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
<para>
Calls gtk_widget_set_rc_style() recursively on all descendants.
Reset the styles of @widget and all descendents, so when
they are looked up again, they get the correct values
for the currently loaded RC file settings.
</para>
<para>
This function is not useful for applications.
</para>
@widget: a #GtkWidget.

View File

@ -4322,8 +4322,9 @@ strbreakup (const char *string,
* @match_end: return location for end of match, or %NULL
* @limit: bound for the search, or %NULL for the end of the buffer
*
* Searches forward for @str. Any match is returned as the range
* @match_start, @match_end. The search will not continue past
* Searches forward for @str. Any match is returned by setting
* @match_start to the first character of the match and @match_end to the
* first character after the match. The search will not continue past
* @limit. Note that a search is a linear or O(n) operation, so you
* may wish to use @limit to avoid locking up your UI on large
* buffers.

View File

@ -1937,9 +1937,10 @@ gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sor
* @tree_model_sort: A #GtkTreeModelSort
* @sorted_path: A #GtkTreePath to convert
*
* Converts @sort_path to a path on the child model of @tree_model_sort. That
* is, @sort_path points ot a location in @tree_model_sort. The returned path
* will point to the same location in the model not being sorted. If @path does not point to a
* Converts @sorted_path to a path on the child model of @tree_model_sort. That
* is, @sorted_path points to a location in @tree_model_sort. The returned path
* will point to the same location in the model not being sorted. If @sorted_path
* does not point to a location in the child model, %NULL is returned.
*
* Return value: A newly allocated #GtkTreePath, or %NULL
**/

View File

@ -992,7 +992,7 @@ gtk_tree_selection_select_range (GtkTreeSelection *selection,
/* Called internally by gtktreeview.c It handles actually selecting the tree.
*/
/**
/*
* docs about the 'override_browse_mode', we set this flag when we want to
* unset select the node and override the select browse mode behaviour (that is
* 'one node should *always* be selected').