Commit Graph

112 Commits

Author SHA1 Message Date
Matthias Clasen
0e04566d54 Update some links in the tutorial
This fixes bug 585953.
2009-06-20 20:51:37 -04:00
Behdad Esfahbod
a398c840be Add git.mk to generate .gitignore files
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Ryan Lortie
8250998da8 small fix for "Paned Window Widgets" example
2008-12-28  Ryan Lortie  <desrt@desrt.ca>

        small fix for "Paned Window Widgets" example

        * docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than 
        add_with_viewport for putting a GtkTreeView into a ScrolledWindow

        Spotted by Benjamin Herrenschmidt


svn path=/trunk/; revision=21958
2008-12-29 01:00:42 +00:00
Christian Dywan
885dd3ef6a Fix a typo in the tutorial.
2008-09-30  Christian Dywan  <christian@imendio.com>

	Fix a typo in the tutorial.

	* docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.

svn path=/trunk/; revision=21549
2008-09-30 01:29:26 +00:00
Cody Russell
57223c9a05 Revert name change
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4 Practically everything changed.
2008-06-30  Cody Russell  <bratsche@gnome.org>

        * Practically everything changed.

        Change	all references	of GIMP	Toolkit	(and variations	of it)
        to GTK+	Toolkit, showing no mercy at all to our	beloved
	ancestry. (#540529)


svn path=/trunk/; revision=20709
2008-06-30 23:01:56 +00:00
Johan Dahlin
d434ca3deb Remove an extra space and swap word order (#518166, Matt Kraai)
2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
    (#518166, Matt Kraai)


svn path=/trunk/; revision=19692
2008-03-03 01:06:16 +00:00
Johan Dahlin
a329e01899 Add a missing space (#517954, Matt Kraai)
2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Add a missing space
    (#517954, Matt Kraai)


svn path=/trunk/; revision=19691
2008-03-03 01:04:26 +00:00
Cody Russell
4ceeea8539 Fix tutorial documentation to say 'gtk_main_quit()' instead of
2008-02-29  Cody Russell  <bratsche@gnome.org>

        * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
        say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)


svn path=/trunk/; revision=19676
2008-02-29 19:27:16 +00:00
Michael Natterer
64c73a61b7 Remove all .cvsignore files.
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
Stefan Kost
85133b2c44 Use gtk_widget_get_parent_window() instead of widget->parent->window.
* docs/tutorial/gtk-tut.sgml:
	  Use gtk_widget_get_parent_window() instead of widget->parent->window.


svn path=/trunk/; revision=19152
2007-12-10 22:18:46 +00:00
15:39:40 Tim Janik
2dc08ada49 call g_test_init() from gtk_test_init().
2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>

        * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().

        * gtk/tests/testing.c: use g_test_add_func() to register tests and use
	g_test_run() to run the tests to integrate with the testing framework.

        * gtk/tests/Makefile.am: removed exemplary testing rules.

        * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
        * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
        * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
        * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
        * docs/reference/Makefile.am, docs/tools/Makefile.am:
        * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
        * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
        * demos/gtk-demo/Makefile.am, demos/Makefile.am:
        * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
        * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
        * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
        * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
        * modules/engines/ms-windows/Theme/Makefile.am:
        * modules/engines/ms-windows/Makefile.am:
        * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
        * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
        * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
        * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
        * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
        * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.



svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Tim Janik
529bbe01a7 removed unbalanced tag that broke the XML.
Tue May  8 23:06:38 2007  Tim Janik  <timj@gtk.org>

        * docs/tutorial/gtk-tut.sgml: removed unbalanced tag that broke the XML.



svn path=/trunk/; revision=17802
2007-05-08 21:09:07 +00:00
Tim Janik
154987a539 fixed buglet from #351759.
Thu Aug 17 16:19:35 2006  Tim Janik  <timj@imendio.com>

        * docs/tutorial/gtk-tut.sgml: fixed buglet from #351759.
2006-08-17 14:21:41 +00:00
Matthias Clasen
1c5a1bdeba Remove outdated lists of authors and maintainers. (#348538, Owen Taylor)
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Remove outdated lists of
	authors and maintainers.  (#348538, Owen Taylor)
2006-08-06 03:36:57 +00:00
Matthias Clasen
a57035d9d1 Replace "effect" by "affect" where appropriate. (#165108, Dan Winship)
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml:
	* docs/tutorial/gtk_tut.sgml:
	* docs/reference/gtk/tmpl/gtkliststore.sgml:
	* gtk/gtkactiongroup.c:
	* gtk/gtksizegroup.c:
	* gtk/gtksizegroup.h:
	* gtk/gtktogglebutton.c: Replace "effect" by "affect" where
	appropriate.  (#165108, Dan Winship)
2005-01-24 17:42:58 +00:00
Matthias Clasen
44ec61dd97 Re-extract.
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* examples/*: Re-extract.

	* docs/tutorial/gtk-tut.sgml: Small corrections.
2005-01-03 19:26:36 +00:00
Matthias Clasen
6803d93d38 Some updates for the drawing section. (#161414, Robert Ancell)
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Some updates for the drawing
	section.  (#161414, Robert Ancell)
2005-01-03 19:16:20 +00:00
Matthias Clasen
600e5b4721 Make it build.
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Make it build.
2005-01-03 17:51:38 +00:00
Matthias Clasen
af77a6b707 Clarify section on g_signal_connect_swapped. (#120543, David Bourguignon)
2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tutorial/gtk-tut.sgml: Clarify section on
	g_signal_connect_swapped.   (#120543, David Bourguignon)
2005-01-03 17:07:56 +00:00
Matthias Clasen
c819c45ea8 Remove deprecated functions in examples. (#129074, Olexiy Avramchenko)
Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>

	* examples/gtkdial/gtkdial.c:
	* examples/menu/menu.c:
	* examples/scribble-xinput/scribble-xinput.c:
	* examples/progressbar/progressbar.c:
	* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
	in examples. (#129074, Olexiy Avramchenko)
	* examples/calendar/Makefile:
	* examples/rangewidgets/Makefile:
	* examples/menu/Makefile: Allow deprecated functions in
	examples which use deprecated widgets.
2003-12-12 00:16:14 +00:00
Owen Taylor
629a0e1424 Patch from James Henstridge to update to automake-1.7 (#109542)
Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>

        Patch from James Henstridge to update to automake-1.7
        (#109542)

        * autogen.sh: update to call newer tools.

        * configure.in: various updates, to use M4 macros to put
        variables that change each release at the top.
        Use AC_HELP_STRING to format help strings.
        Use AC_CONFIG_COMMANDS to generate gdkconfig.h.

        * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
        gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
        during distcheck.

        * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
        makefile fragment.

        * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
        Use BUILT_SOURCES where appropriate.
        Build generated files in builddir rather than srcdir.
        Fix uninstall and distclean targets to satisfy distcheck.

        ===

        * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
        built first, since we are now using BUILT_SOURCES.

        * gdk/Makefile.am: Remove an outdated comment about gdk_headers.

        * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
        with geninclude.pl.

        * configure.in: Update versions to 2.3.0.
2003-05-06 21:55:41 +00:00
Matthias Clasen
ae0bb11c8e Don't include strings.h, it's not needed anymore. (#112388)
2003-05-06  Matthias Clasen  <maclas@gmx.de>

	* tests/testmultidisplay.c: Don't include strings.h, it's not
	needed anymore.  (#112388)

	* examples/menu/itemfactory.c:
	* docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the
	itemfactory example.
2003-05-06 21:33:22 +00:00
GMT 2003 Tony Gale
69e1366667 cleanups from Sebastian Rittau (#104832)
Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/tutorial/gtk-tut.sgml: cleanups from
	Sebastian Rittau (#104832)
2003-02-02 16:50:48 +00:00
Sebastian Rittau
be51fbbf57 Fix a few typos, introduced by my last patch.
* docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
        patch.
2003-01-24 17:24:29 +00:00
GMT 2003 Tony Gale
1e52ff90b3 Remove duplicate copy of tictactoe.h
Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
2003-01-24 17:09:29 +00:00
GMT 2003 Tony Gale
c4b771b8e5 docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a Composite
Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
        * Sebastian Rittau  <srittau@jroger.in-berlin.de>:

           docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
           Composite widget" to modern standards. (I.e. use gobject instead of
           glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.

        * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
        code in Appendix C to reflect above changes.

        * examples/rangewidgets/rangewidgets.c: From Roger Leigh
        auto resize on page size change
2003-01-23 21:07:42 +00:00
Matthias Clasen
7cebc87dac Add a <StockItem> to the itemfactory example. (#103211)
2003-01-15  Matthias Clasen  <maclas@gmx.de>

	* examples/menu/itemfactory.c:
	* docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
	example.  (#103211)
2003-01-14 23:33:03 +00:00
GMT 2002 Tony Gale
47ebb9739a minor fixes
Sat Dec  7 14:45:50 GMT 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml: minor fixes

        * examples/pixmap: don't use deprecated function
2002-12-07 14:48:08 +00:00
GMT 2002 Tony Gale
621ae3a60c create split package files
Tue Nov 26 18:28:58 GMT 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/package-db-tutorial.sh:
        (see #71679) create split package files
2002-11-26 18:32:07 +00:00
Matthias Clasen
0d8359a5d7 Fix the ftp download url.
* docs/tutorial/gtk-tut.sgml: Fix the ftp download url.
2002-11-25 19:20:39 +00:00
Matthias Clasen
dd6b66bff9 Numerous fixes to the calendar example. (#97956, Owen Taylor)
* docs/tutorial/gtk-tut.sgml:
	* examples/calendar/calendar.c: Numerous fixes to the calendar
	example.  (#97956, Owen Taylor)
2002-11-21 19:56:52 +00:00
GMT 2002 Tony Gale
ce575a009a 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
2002-10-27 11:44:25 +00:00
Matthias Clasen
a9b71314ee Lots of trivial doc fixes. 2002-10-11 20:36:21 +00:00
BST 2002 Tony Gale
5abc7156b6 cleanups
Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/package-db-tutorial.sh: cleanups

        * docs/tutorial/gtk-tut.sgml: new content for the
        ItemFactory section. Originally from Robert Cleaver Ancell.
2002-08-26 11:35:57 +00:00
BST 2002 Tony Gale
992ea8e1d7 update packaging script for current tutorial
Sun Aug 25 11:58:27 BST 2002  Tony Gale <gale@gtk.org>

	* docs/tutorial/package-db-tutorial.sh:
	update packaging script for current tutorial

	* docs/tutorial/images/*.eps: New Files
	EPS versions of the tutorial images
2002-08-25 11:28:42 +00:00
BST 2002 Tony Gale
1bfcf9ba16 update g_connect_signal usage
Sat Aug 24 12:46:37 BST 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml, examples/*:
        update g_connect_signal usage

        * docs/faq/gtk-faq.html: spelling/grammar fixes
2002-08-24 11:53:26 +00:00
Tony Gale
f7fa241177 minor menu example comment fix (feeling my way back in after a long
* docs/tutorial/gtk-tut.sgml, examples/menu/menu.c:
	  minor menu example comment fix
	  (feeling my way back in after a long absence)
2002-08-15 21:54:41 +00:00
Owen Taylor
81538dec03 GTK+-2.0.0 rc1
Tue Mar  5 22:16:58 2002  Owen Taylor  <otaylor@redhat.com>

        * GTK+-2.0.0 rc1

        * docs/tutorial,faq/Makefile.am: Deal with the html directory
        already being there.

        * docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST.
2002-03-06 03:59:22 +00:00
Owen Taylor
9733428511 s/menu_new/menu_item_new/. (#69199, Akira Tagoh.)
Tue Mar  5 17:02:59 2002  Owen Taylor  <otaylor@redhat.com>

        * docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/.
        (#69199, Akira Tagoh.)
2002-03-05 22:05:21 +00:00
Matthias Clasen
0b46f4ab61 Make color selection and selection examples work.
* docs/tutorial/gtk-tut.sgml: Make color selection and selection
	examples work.

	* tests/testselection.c (selection_toggled, selection_clear):
	Use selection_widget as selection owner - otherwise clearing the
	selection doesn't work.
2002-03-04 22:19:47 +00:00
Owen Taylor
dfe5724765 Default to --disable-gtk-doc (avoid Jade breakage) and --disable-static
Sat Mar  2 14:32:50 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Default to --disable-gtk-doc (avoid Jade
        breakage) and --disable-static (static linking causes
        problems with Xft changes.)

        * autogen.sh: Add --enable-gtk-doc by default.

        * Makefile.am: Add a 'mydistcheck' rule that passes
        --enable-gtk-doc to the configure since that is needed
        for 'make dist'.

        * docs/tutorial/Makefile.am (dist-hook): Don't distribute
        the PDF file. (Rule doesn't work on my system, plus it's
        big.)

        * gtk/Makefile.am: 'make dist' fixes.
2002-03-02 20:08:39 +00:00
Matthias Clasen
14a2eb7884 Fix typos in pkg-config invokations. (#72476)
* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config
	invokations.  (#72476)

	Fixes for #72478:

	* gtk/tmpl/gtkprogressbar.sgml: Add note about new GtkProgressBar
	API to introduction.

	* gtk/gtk-sections.txt: Reorder GtkProgressBar functions to move
	undeprecated API to top.
2002-02-26 00:44:36 +00:00
Matthias Clasen
9f1363013f More GTK+ 2.0 updates.
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
	 GTK+ 2.0 updates.

	* docs/tutorial/Makefile.am: build and dist the new tutorial, not
	the old Linuxdoc one.
2002-02-25 01:47:44 +00:00
Matthias Clasen
639c8cac7a screenshots of examples.
* docs/tutorial/images/*.png: screenshots of examples.

	* docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add
	screenshots, fix chapters 1-4 for GTK+ 2.0.

	* demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
2002-02-21 00:40:16 +00:00
Matthias Clasen
8ac97865e8 Fold back Svens g_signal fixes from the examples.
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
	the examples.

	* docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c,
	examples/progressbar/Makefile: Make the progressbar example
	deprecation-clean.
2002-02-20 01:40:15 +00:00
Matthias Clasen
bd73a312f0 Trivial formatting fixes to all examples, simple functional fixes to
* docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting
	fixes to all examples, simple functional fixes to rangewidgets example.
2002-02-19 01:25:26 +00:00
Matthias Clasen
38d639c0e8 Make the paned example deprecation-clean.
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
	examples/paned/Makefile: Make the paned example deprecation-clean.

	* various ChangeLog files: correct my email.
2002-02-17 19:59:33 +00:00
Matthias Clasen
b3d5f148e6 More work on #71430.
* examples/*/Makefile (CFLAGS): add deprecation guards.

	* docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples
	deprecation-clean; the major offenders right now are the examples
	that make heavy use of completely deprecated or broken widgets:
	list, tree, text, pixmap, paned and progressbar. These will have
	to be redone from scratch.

	* demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
2002-02-16 23:52:30 +00:00
Matthias Clasen
21ac424e41 rearrange rules to not emit the example start and end markers.
* examples/extract.awk: rearrange rules to not emit the example
	start and end markers.

	* docs/tutorial/gtk-tut.sgml: turn the start and end markers into
	SGML comments, so they don't clutter the formatted tutorial.
2002-02-16 18:31:14 +00:00