GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Owen Taylor fbfc305174 Allow %NULL for style to mean "revert to default style"
Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
	for style to mean "revert to default style"

	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
	  gtk_widget_restore_default_style): Make this functions
	deprecated aliases for gtk_widget_set_style (widget, NULL).

	* gtk/gtkwidget.[ch]: Remove:
	   gtk_widget_set_default_style ()
	   gtk_widget_push_style ()
	   gtk_widget_pop_style ()
	These functions interact are overriden by RC files, and
	thus virtually useless, and complicated.

Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Add a GtkRcContext structure to hold
	most of the previous global variables in gtkrc.c. This is
	in preparation for multi-head, since each screen can
	have different GtkSettings and RC information.

	* gtk/gtkrc.[ch]:

	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
	GtkSettings parameter to GtkRcStyle::parse.

	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c:
	Add two new settings gtk-theme-name, gtk-key-theme-name,
	for RC files that are loaded by name after reading
	the default RC files.

	* gtk/gtkrc.c: Allow priorities for styles, as wll as
	bindings.

	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
	and use it by default for RC files loaded via
	gtk-theme-name, gtk-key-theme-name.

	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
        gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string)
	tests/testgtkrc: Require pathnames to be absolute.

	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
	the source when parsing, since the operation of looking up a
	pixmap from an RC file depends on the parsing context.

	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
	reset RC styles on all widgets when files are reparsed.

	* tests/testgtk.c (create_rc_file)
	  gtk/gtkwindow.c (gtk_window_read_rcfiles):
	Simplify, now that gtk_rc_reparse_all() resets styles on
	all widgets itself.

	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
	return value.

	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
	GtkSettings argument.

	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
	gtk_settings_get_global().

	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
	to get the appropriate GtkSettings for a widget. (For now,
	just gets the default GtkSetttings.)

	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
        changes.

	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
	getting a style for a path without actually having a widget.
	(Allows using a style for a subpart of a widget, for
	example.)

	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
	the RC files to be reloaded for just one GtkSettings
	(not sure how useful this really is.)

	* gtk/gtkrc.h: Deprecate
	gtk_rc_add_widget_name/widget_class/class_style
2001-06-30 16:08:25 +00:00
contrib Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
demos changed new_with_types to just plain new, fixing the number of columns, 2001-06-30 02:38:17 +00:00
docs Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
examples Added .cvsignore files for CVS not to complain about executables 2001-05-07 22:05:32 +00:00
gdk Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
gdk-pixbuf fixes to compile with G_DISABLE_COMPAT 2001-06-29 16:30:25 +00:00
gtk Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
m4macros shut up CVS 2001-06-13 14:04:16 +00:00
modules Fixup some problems with text length handling in error cases. 2001-06-23 14:32:44 +00:00
po Updated Norwegian translation. 2001-06-27 23:33:49 +00:00
tests Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
.cvsignore shut up CVS 2001-06-13 14:04:16 +00:00
acconfig.h Added --enable-fbmanager. This is some experimental code that lets several 2001-06-25 23:01:36 +00:00
acinclude.m4 Require libtool-1.4, automake-1.4p1. 2001-05-16 18:51:07 +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 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +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 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
ChangeLog.pre-2-2 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
ChangeLog.pre-2-4 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
ChangeLog.pre-2-6 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
ChangeLog.pre-2-8 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
ChangeLog.pre-2-10 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
config.guess Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
config.h.win32.in disable USE_MMX for msvc build cause the assembler doesn't fit and is out 2001-03-31 19:33:49 +00:00
config.sub version to 1.3.6 2001-06-14 16:34:21 +00:00
configure.in up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. 2001-06-28 17:12:40 +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+-2.0-uninstalled.pc.in subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
gtk+-2.0.pc.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
gtk+.spec.in Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 2000-07-14 20:08:10 +00:00
HACKING Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
INSTALL Updates 2001-06-13 21:24:09 +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 subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
NEWS Updates 2001-06-13 21:24:09 +00:00
NEWS.pre-1-0 ooops, fogot this on my last commit... 1998-05-07 07:45:04 +00:00
README Updates 2001-06-13 21:24:09 +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 Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +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.6. 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.)