GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Tor Lillqvist c65508d272 This might seem like a large patch, but it isn't that bad, and nothing
should break on Unix/X11.

Win32 merge and general portability stuff:

* acconfig.h,configure.in: Check for <sys/time.h>.

* gdk/win32: New directory (actually, been there for a while).

* gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
NATIVE_WIN32, and use these. Always case fold on Win32. No
backslashed escapes on native Win32.

* gtk/{gtk.def,makefile.msc}: New files.

* gtk/Makefile.am: Add above new files.

* gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
instead of <strings.h>.

* gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
<unistd.h> appropriately.

* gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
Use ABS() (from <glib.h>) instead of abs().

* gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
of gtk (and thus glib) headers, so that WIN32 will be
defined. With MS C, include <direct.h> for mkdir prototype.

* gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
some casts, needed by MS C.

* gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
implemented).

* gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
<X11/Xlocale.h> only on X11 platform, otherwise <locale.h>.  Use
G_SEARCHPATH_SEPARATOR_S and g_module_build_path.

* gtk/gtkmain.h: Mark variables for export/import on Win32.

* gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
the event is not a hint, or its window is not the slider. Needed
on Win32, at least.

* gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
a subdirectory of the Windows directory as gtk system
configuration directory.

* gtk/gtkselection.c: No chunks on Win32.

* gtk/gtksocket.c: Not implemented on Win32.

* gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.

* gtk/makeenums.h: Include gdkprivate.h after gdk.h.

* gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
1999-03-15 00:03:37 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
docs merging minor fix from gtk+-1-2 1999-02-27 00:38:52 +00:00
examples - Complete the ProgressBar API - Fix the CList example code 1999-02-22 08:51:02 +00:00
gdk This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
gdk-pixbuf Stuff I did last night while watching TV 1999-01-05 21:27:07 +00:00
gtk This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
po upgraded spanish language file 1999-02-27 00:03:42 +00:00
tests This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
.cvsignore cvs be quiet 1999-01-13 19:17:08 +00:00
acconfig.h This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
acinclude.m4 Xsed isn't valid here, don't use it 1999-01-28 04:58:01 +00:00
AUTHORS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
autogen.sh Remove autogenned files 1999-02-01 22:50:07 +00:00
ChangeLog This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-1-0
ChangeLog.pre-1-2 moved old ChangeLog to ChangeLog.pre-1-2, and started new one. 1999-02-27 00:26:30 +00:00
ChangeLog.pre-2-0 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-2-2 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-2-4 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-2-6 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-2-8 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
ChangeLog.pre-2-10 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
config.guess acinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 and 1999-01-13 06:53:26 +00:00
config.h.win32 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
config.sub acinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 and 1999-01-13 06:53:26 +00:00
configure.in This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
COPYING
gtk-config.in Configure now generates a gdkconfig.h file, in similar way as GLib's 1999-03-13 16:40:24 +00:00
gtk.m4 Fix glib_config_args gtk_config_args confusion. (pointed out by Roland 1999-02-18 16:43:42 +00:00
gtk+.spec.in I've made the spec file autogenerated and I updated the file list 1999-02-21 21:00:23 +00:00
HACKING - GNU autoconf 2.13 - GNU automake 1.4 (Beta releases are at 1999-01-17 16:54:58 +00:00
INSTALL Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
ltconfig Xsed isn't valid here, don't use it 1999-01-28 04:58:01 +00:00
ltmain.sh Xsed isn't valid here, don't use it 1999-01-28 04:58:01 +00:00
makecopyright
Makefile.am I've made the spec file autogenerated and I updated the file list 1999-02-21 21:00:23 +00:00
NEWS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
NEWS.pre-1-0
README Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
README.cvs-commits Fixed argument list and return type for non-XIM fallback. 1998-12-09 18:13:52 +00:00
sanity_check Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
TODO updates, i left the text widget related portions in there, to serve as a 1999-02-25 10:29:38 +00:00

General Information
===================

This is GTK+ version 1.2.0.   GTK+, which stands for the Gimp ToolKit, 
is a library for creating graphical user interfaces for the X Window 
System. It is designed to be small, efficient, and flexible. GTK+ is 
written in C with a very object-oriented approach.

The official ftp site is:
  ftp://ftp.gtk.org/pub/gtk

The official web site is:
  http://www.gtk.org/

A mailing list is located at:
  gtk-list@redhat.com

To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null
(Send mail to gtk-list-request@redhat.com with the subject "subscribe")

Installation
============

See the file 'INSTALL'

How to report bugs
==================

Bugs should be reported to the GNOME bug tracking
system. (http://bugs.gnome.org). To report a problem
about GTK+, send mail to submit@bugs.gnome.org.

The subject of the mail should describe your problem.
In the body of the mail, you should first include
a "pseudo-header" that gives the package and 
version number. This should be separated by a blank
line from the actual headers.

 Package: gtk+
 Version: 1.2.0

[ Please substitute 1.2.0 with the version of GTK+ that
  you have installed ]

Then describe the bug. Include:

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

  If you can reproduce it with the testgtk program that is built 
  in the gtk/ subdirectory, that will be most convenient.  Otherwise, 
  please include a short test program that exhibits the behavior. 
  As a last resort, you can also provide a pointer to a larger piece 
  of software that can be downloaded.

  (Bugs that can be reproduced within the  GIMP are almost as good 
  as bugs that can be reproduced in testgtk. If you are reporting a 
  bug found with the GIMP, please include the version number of the GIMP 
  you are using)

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

* Further information such as stack traces may be useful, but
  is not necessary. If you do send a stack trace, and the error
  is an X error, it will be more useful if the stacktrace
  is produced running the test program with the --sync command
  line option.

An example of a bug report:

====
To: submit@bugs.gnome.org
From: yourname@your.address.org
Subject: handlebox test in testgtk is misnamed.

Package: gtk+
Version: 1.2.0

When I run gtk/testgtk, the button "handle box"
is misnamed. There are multiple handle boxes in
the demo, so it should be "handle boxes", to
be like "buttons" or "check buttons".
===

Patches
=======

Patches can be uploaded to the incoming/ directory on
ftp.gtk.org.  Please follow the instructions there, and include
your name and email address in the README file.

If the patch fixes a bug, it is usually a good idea to include
all the information described in "How to Report Bugs".