diff options
author | GMT 2002 Tony Gale <gale@gtk.org> | 2002-10-27 11:44:25 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 2002-10-27 11:44:25 +0000 |
commit | ce575a009a3d39ccdfee964961012a6b45bcc2b7 (patch) | |
tree | 74da0f04aadd9f8216f2792820d737fc4cdcb515 | |
parent | 3889630f2b7b1c0e50b836dcb4327427868ec0fb (diff) | |
download | gtk+-ce575a009a3d39ccdfee964961012a6b45bcc2b7.tar.gz |
minor cleanups, remove refs to gtk_menu_append
Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org>
* docs/tutorial/gtk-tut.sgml:
minor cleanups, remove refs to gtk_menu_append
*docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 7 | ||||
-rw-r--r-- | docs/faq/gtk-faq.sgml | 4 | ||||
-rwxr-xr-x | docs/tutorial/gtk-tut.sgml | 38 | ||||
-rw-r--r-- | examples/progressbar/progressbar.c | 2 |
9 files changed, 74 insertions, 12 deletions
@@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ef0fd3f905..cb33818503 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index ef0fd3f905..cb33818503 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ef0fd3f905..cb33818503 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ef0fd3f905..cb33818503 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ef0fd3f905..cb33818503 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Sun Oct 27 11:41:37 GMT 2002 Tony Gale <gale@gtk.org> + + * docs/tutorial/gtk-tut.sgml: + minor cleanups, remove refs to gtk_menu_append + + *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append + Fri Oct 25 23:36:30 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 82f3e8b48c..9fd5ca5367 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ <book> <bookinfo> - <date>August 24th 2002</date> + <date>October 27th 2002</date> <title>GTK+ FAQ</title> <authorgroup> <author> @@ -2531,7 +2531,7 @@ separation line in a menu, just insert an empty menu item:</para> <programlisting role="C"> menuitem = gtk_menu_item_new(); -gtk_menu_append(GTK_MENU(menu), menuitem); +gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); gtk_widget_show(menuitem); </programlisting> diff --git a/docs/tutorial/gtk-tut.sgml b/docs/tutorial/gtk-tut.sgml index 6f76b2223b..6002da3ee2 100755 --- a/docs/tutorial/gtk-tut.sgml +++ b/docs/tutorial/gtk-tut.sgml @@ -5,7 +5,7 @@ <book id="gtk-tut"> <bookinfo> - <date>August 26, 2002</date> + <date>October 27, 2002</date> <title>GTK+ 2.0 Tutorial</title> <authorgroup> <author> @@ -29,6 +29,26 @@ <toc></toc> <!-- ***************************************************************** --> +<chapter id="ch-TutorialDownload"> +<title>Tutorial Availability</title> + +<para>A copy of this tutorial in SGML and HTML is distributed with each +source code release of GTK+. For binary distributions, please check with +you vendor.</para> + +<para>A copy is available online for reference at <ulink +url="http://www.gtk.org/tutorial">www.gtk.org/tutorial</ulink>.</para> + +<para>A packaged verion of this tutorial is available from +<ulink url="ftp:/ftp.gtk.org/pub/gtk/tutorial"> +ftp.gtk.org/pub/gtk/tutorial</ulink> which contains the tutorial in +various different formats. This +package is primary for those people wanting to have the tutorial +available for offline reference and for printing.</para> + +</chapter> + +<!-- ***************************************************************** --> <chapter id="ch-Introduction"> <title>Introduction</title> @@ -3840,7 +3860,7 @@ values to indicate the direction in which the progress bar moves:</para> <para>As well as indicating the amount of progress that has occured, the progress bar may be set to just indicate that there is some activity. This can be useful in situations where progress cannot be measured against -a value range. To following function indicates that some progress has been +a value range. The following function indicates that some progress has been made.</para> <programlisting role="C"> @@ -4038,7 +4058,7 @@ int main( int argc, gtk_widget_show (separator); /* rows, columns, homogeneous */ - table = gtk_table_new (2, 2, FALSE); + table = gtk_table_new (2, 3, FALSE); gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, TRUE, 0); gtk_widget_show (table); @@ -4174,7 +4194,7 @@ more of the following flags.</para> </para></listitem> </varlistentry> <varlistentry> -<term><literal>GTK_DIALOG_DESTROY_WITH_PARENTS</literal></term> +<term><literal>GTK_DIALOG_DESTROY_WITH_PARENT</literal></term> <listitem><para>ensures that the dialog window is destroyed together with the specified parent.</para></listitem> </varlistentry> @@ -8269,7 +8289,7 @@ item with a label already packed into it, and the other just creates a blank menu item.</para> <para>Once you've created a menu item you have to put it into a menu. This -is done using the function gtk_menu_append. In order to capture when +is done using the function gtk_menu_shelll_append. In order to capture when the item is selected by the user, we need to connect to the <literal>activate</literal> signal in the usual way. So, if we wanted to create a standard <literal>File</literal> menu, with the options <literal>Open</literal>, <literal>Save</literal>, and @@ -8284,9 +8304,9 @@ standard <literal>File</literal> menu, with the options <literal>Open</literal>, quit_item = gtk_menu_item_new_with_label ("Quit"); /* Add them to the menu */ - gtk_menu_append (GTK_MENU (file_menu), open_item); - gtk_menu_append (GTK_MENU (file_menu), save_item); - gtk_menu_append (GTK_MENU (file_menu), quit_item); + gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), open_item); + gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), save_item); + gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), quit_item); /* Attach the callback functions to the activate signal */ g_signal_connect_swapped (G_OBJECT (open_item), "activate", @@ -8365,7 +8385,7 @@ attached:</para> </listitem> <listitem><simpara> Use multiple calls to gtk_menu_item_new() for each item you -wish to have on your menu. And use gtk_menu_append() to put each of +wish to have on your menu. And use gtk_menu_shell_append() to put each of these new items on to the menu.</simpara> </listitem> diff --git a/examples/progressbar/progressbar.c b/examples/progressbar/progressbar.c index 7420d24d77..f4a9aec8ef 100644 --- a/examples/progressbar/progressbar.c +++ b/examples/progressbar/progressbar.c @@ -140,7 +140,7 @@ int main( int argc, gtk_widget_show (separator); /* rows, columns, homogeneous */ - table = gtk_table_new (2, 2, FALSE); + table = gtk_table_new (2, 3, FALSE); gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, TRUE, 0); gtk_widget_show (table); |