s/columns/rows/ in docs. (#70199)

* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
	s/columns/rows/ in docs.  (#70199)

	* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in
	docs. (#71852, #68405)

	* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.

	* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in
	examples.  (#71479)

	* gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as
	quasi-private.  (#69788)

	* gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and
	selected_day as one-based.  (#57169)
This commit is contained in:
Matthias Clasen
2002-02-22 00:26:54 +00:00
parent 4deb783e6b
commit 6b11e5cf51
15 changed files with 99 additions and 37 deletions

View File

@ -56,6 +56,13 @@ year, and selected day respectively.
All of these fields should be considered read only, and everything in this
struct should only be modified using the functions provided below.
</para>
<note>
<para>
Note that <structfield>month</structfield> is zero-based (i.e it allowed values
are 0-11) while <structfield>selected_day</structfield> is one-based
(i.e. allowed values are 1-31).
</para>
</note>
<!-- ##### ENUM GtkCalendarDisplayOptions ##### -->
@ -109,7 +116,7 @@ Shifts the calendar to a different month.
</para>
@calendar: a #GtkCalendar.
@month: a month number.
@month: a month number between 0 and 11.
@year: the year the month is in.
@Returns: %TRUE.
@ -120,7 +127,8 @@ Selects a day from the current month.
</para>
@calendar: a #GtkCalendar.
@day: the day number to select.
@day: the day number between 1 and 31, or 0 to unselect
the currently selected day.
<!-- ##### FUNCTION gtk_calendar_mark_day ##### -->
@ -129,7 +137,7 @@ Places a visual marker on a particular day.
</para>
@calendar: a #GtkCalendar.
@day: the day number to mark.
@day: the day number to mark between 1 and 31.
@Returns: %TRUE.
@ -139,7 +147,7 @@ Removes the visual marker from a particular day.
</para>
@calendar: a #GtkCalendar.
@day: the day number to unmark.
@day: the day number to unmark between 1 and 31.
@Returns: %TRUE.

View File

@ -45,7 +45,7 @@ on the image, such as button clicks, place the image inside a
GdkEventButton *event,
gpointer data)
{
g_print ("Event box clicked at coordinates %d,%d\n",
g_print ("Event box clicked at coordinates %%d,%%d\n",
event->x, event->y);
/* Returning TRUE means we handled the event, so the signal

View File

@ -246,7 +246,7 @@ selection has not yet been made, the first menu item is selected.
<!-- ##### FUNCTION gtk_menu_set_active ##### -->
<para>
Selects the specified menu item within the menu. This is used by the
#GtkOptionMenu.
#GtkOptionMenu and should not be used by anyone else.
</para>
@menu: a #GtkMenu.

View File

@ -450,7 +450,7 @@ as parameter to your function:
<programlisting>
static void button_clicked_int (GtkButton* button, gpointer func_data)
{
g_print ("button pressed: %d\n", GPOINTER_TO_INT (func_data));
g_print ("button pressed: %%d\n", GPOINTER_TO_INT (func_data));
}
/* By calling this function, you will make the g_print above