GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Owen Taylor 7537825b34 Patch from Bill Haneman (with many modifications) to make the focus color
Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>

	Patch from Bill Haneman (with many modifications) to make
	the focus color work on dark themes and to make the
	focus line width configurable. (#61079, #63074)

        * gtk/gtkwidget.c: Add style properties,
	::focus-widget, ::focus-line-width, and ::focus-padding.

	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
	state argument as well so we can use fg[STATE] to
	draw instead of always drawing with black.
	Cange paint_focus() to respect GtkWidget::focus-width
	and GtkWidget::focus-line-pattern. Fix continuity
	problem where the default 1-1 stipple had a blob
	in one corner and a gap in the other. Change the
	interpretation of x/y/width/height to be the bounding
	box of the focus rect instead of the rectangle
	passed to gdk_draw_rectangle.

	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
	and ::focus-line-padding.

	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
	and remove duplicated code; fix drawing of focus rectangle
	when interior-focus = FALSE. (#63072, #63073)

	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
	Range and TreeViewColumn will need more extensive fixing.

	* gtk/gtkcolorsel.c: Honor focus line attributes when
	drawing the focus on the color swatches. (#63071)

	* gtk/gtkhsv.c: Honor focus line attributes when
	drawing the focus for the ring and triangle.

	* docs/widget_geometry.txt: Start at documenting how
	various widgets are drawn.

	* gtk/gtkbutton.c (_gtk_button_paint): Export
	_gtk_button_paint() librarywide, so we don't have
	duplicate a bunch of code in gtktogglebutton.c.

	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
2001-12-04 03:27:30 +00:00
contrib Added -version-info. 2001-11-26 00:42:29 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
demos fix typo 2001-11-28 21:19:40 +00:00
docs Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
examples Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro) 2001-11-02 15:27:27 +00:00
gdk Deprecate. 2001-11-30 22:55:28 +00:00
gdk-pixbuf Add gdk_pixbuf_get_option. 2001-12-02 18:03:52 +00:00
gtk Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
m4macros Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) 2001-10-29 16:51:37 +00:00
modules Use -no-undefined on Windows. Look for .dll or .so as appropriate as 2001-11-02 22:56:59 +00:00
po Updated Swedish translation. 2001-12-04 00:36:50 +00:00
tests Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to 2001-11-23 21:46:44 +00:00
.cvsignore shut up CVS 2001-10-30 16:51:39 +00:00
acconfig.h demos/pixbuf-demo.c M_PI -> G_PI. 2001-11-25 23:36:29 +00:00
acinclude.m4 Use autoconf 2.13/2.50 compat macro. 2001-08-27 15:17:51 +00:00
AUTHORS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
autogen.sh subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
ChangeLog Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-1-0 ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog. 1998-04-17 01:07:36 +00:00
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 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-2-2 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-2-4 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-2-6 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-2-8 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
ChangeLog.pre-2-10 Patch from Bill Haneman (with many modifications) to make the focus color 2001-12-04 03:27:30 +00:00
config.guess Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
config.h.win32.in make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if 2001-11-18 15:37:13 +00:00
config.sub version to 1.3.6 2001-06-14 16:34:21 +00:00
configure.in demos/pixbuf-demo.c M_PI -> G_PI. 2001-11-25 23:36:29 +00:00
COPYING Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
gdk-2.0-uninstalled.pc.in subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
gdk-2.0.pc.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
gdk-pixbuf-2.0-uninstalled.pc.in subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
gdk-pixbuf-2.0.pc.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
gtk-config-2.0.in Updated. 2001-04-03 18:48:46 +00:00
gtk-zip.sh.in Build separate runtime and developer packages. 2001-11-17 02:13:25 +00:00
gtk+-2.0-uninstalled.pc.in Implement a search path for GTK+ modules. 2001-09-11 20:24:40 +00:00
gtk+-2.0.pc.in Implement a search path for GTK+ modules. 2001-09-11 20:24:40 +00:00
gtk+.spec.in Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. - 2001-08-27 14:36:50 +00:00
HACKING Patch from Hidetoshi Tajima to fix bad match error when target drawable is 2001-11-30 21:14:07 +00:00
INSTALL Version 1.3.11, interface, binary age 0. 2001-11-21 21:44:08 +00:00
INSTALL.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
makecopyright Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
Makefile.am Add a "resizable" property, to get rid of the 2001-11-19 21:18:22 +00:00
NEWS Version 1.3.11, interface, binary age 0. 2001-11-21 21:44:08 +00:00
NEWS.pre-1-0 ooops, fogot this on my last commit... 1998-05-07 07:45:04 +00:00
README Version 1.3.11, interface, binary age 0. 2001-11-21 21:44:08 +00:00
README.cvs-commits Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS 2001-04-17 19:19:09 +00:00
README.in Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS 2001-04-17 19:19:09 +00:00
README.nanox make it possible to configure gtk for different targets on the same 2000-06-07 16:44:29 +00:00
README.win32 Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
sanity_check [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
TODO Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org> 2000-02-29 13:15:10 +00:00
TODO.xml Another test commit TODO.xml 2000-10-29 02:44:07 +00:00

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

This is GTK+ version 1.3.11. 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/

Information about mailing lists can be found at
  http://www.gtk.org/mailinglists.html

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

See the file 'INSTALL'

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

Bugs should be reported to the GNOME bug tracking system. 
(http://bugzilla.gnome.org, product gtk+.) You will need
to create an account for yourself.
  
In the bug report please 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.

* 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.

Patches
=======

Patches should also be submitted to bugzilla.gnome.org. If the
patch fixes an existing bug, add the patch as an attachment
to that bug report.

Otherwise, enter a new bug report that describes the patch,
and attach the patch to that bug report.

Bug reports containing patches should include the PATCH keyword
in their keyword fields. If the patch adds to or changes the GTK
programming interface, the API keyword should also be included.
  
Patches should be in unified diff form. (The -u option to GNU
diff.)