GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Havoc Pennington 75d79abf98 test the window state stuff
2001-02-26  Havoc Pennington  <hp@redhat.com>

	* gtk/testgtk.c: test the window state stuff

	* gtk/gtkwindow.c (gtk_window_present): new function, makes a
	window come to the user's attention as if it were just created
	(gtk_window_iconify): new function
	(gtk_window_deiconify): new function
	(gtk_window_stick): new function
	(gtk_window_unstick): new function
	(gtk_window_maximize): new function
	(gtk_window_unmaximize): new function

	* gtk/gtkwidget.h, gtk/gtkwidget.c: add window_state_event signal

	* gtk/gtkmain.c (gtk_main_do_event): handle GDK_WINDOW_STATE

	* gdk/x11/gdkevents-x11.c: create window state events when
	appropriate
	(gdk_wmspec_supported): new function

	* gdk/x11/gdkwindow-x11.c (gdk_window_iconify): handle
	iconification before showing the window
	(gdk_window_deiconify): new function
	(gdk_window_stick): new function
	(gdk_window_unstick): new function
	(gdk_window_maximize): new function
	(gdk_window_unmaximize): new function

	* gdk/gdkwindow.c: store the window state in the window;
	change to using the GDK_WINDOW_STATE_WITHDRAWN flag instead of
	window->mapped.
	(gdk_window_get_state): return the current window state

	* gdk/gdkevents.c (gdk_event_get_time): handle GDK_WINDOW_STATE
	(gdk_event_get_state): handle GDK_WINDOW_STATE
	(gdk_synthesize_window_state): function to create the window state
	events

	* gdk/gdkevents.h (struct _GdkEventWindowState): new type of
	event, for changes to "window state" such as maximized, sticky,
	etc.

	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): new function,
	focuses a window

	* gdk/x11/gdkmain-x11.c (_gdk_wmspec_supported): new function,
	finds out if we support a given WM spec hint
2001-02-27 20:40:15 +00:00
contrib Commit missed changelog entry bit. 2001-01-17 19:32:55 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
demos Added new menu separator item. The drawing and size handling is still done 2001-02-21 09:29:01 +00:00
docs Fogot to change the date 2001-02-27 13:48:36 +00:00
examples Make gdk_colormap_sync private since it was never exported in a header 2001-02-02 22:19:31 +00:00
gdk test the window state stuff 2001-02-27 20:40:15 +00:00
gdk-pixbuf prepend underscore (gdk_pixbuf_get_named_module): prepend underscore 2001-02-20 02:59:30 +00:00
gtk test the window state stuff 2001-02-27 20:40:15 +00:00
m4macros Really release 1.3.1 2000-07-15 01:07:42 +00:00
modules use draw_vline method of parent_class, not draw_hline 2001-02-20 21:15:31 +00:00
po Updated Norwegian translation. Added a bunch of new files. 2001-02-27 12:14:21 +00:00
tests test the window state stuff 2001-02-27 20:40:15 +00:00
.cvsignore Massive .cvsignore updates 2000-10-23 14:43:16 +00:00
acconfig.h Added ENABLE_SHADOW_FB 2001-01-11 16:39:21 +00:00
acinclude.m4 Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
AUTHORS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
autogen.sh When doing sanity checking on ACLOCAL_FLAGS, look for glib-2.0.m4 not 2000-11-04 15:14:34 +00:00
ChangeLog test the window state stuff 2001-02-27 20:40:15 +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 test the window state stuff 2001-02-27 20:40:15 +00:00
ChangeLog.pre-2-2 test the window state stuff 2001-02-27 20:40:15 +00:00
ChangeLog.pre-2-4 test the window state stuff 2001-02-27 20:40:15 +00:00
ChangeLog.pre-2-6 test the window state stuff 2001-02-27 20:40:15 +00:00
ChangeLog.pre-2-8 test the window state stuff 2001-02-27 20:40:15 +00:00
ChangeLog.pre-2-10 test the window state stuff 2001-02-27 20:40:15 +00:00
config.guess Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
config.h.win32.in gtk/gtkmain.c Use the new 2001-01-17 22:26:19 +00:00
config.sub Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
configure.in Remove gdkcc.h reference. 2001-02-13 04:56:07 +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.pc.in Adapt to uscore-ification of gtktextiterprivate 2001-01-04 17:48:43 +00:00
gdk-pixbuf-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +00:00
gtk-2.0.m4 Really release 1.3.1 2000-07-15 01:07:42 +00:00
gtk-config-2.0.in Really release 1.3.1 2000-07-15 01:07:42 +00:00
gtk+-2.0.pc.in Adapt to uscore-ification of gtktextiterprivate 2001-01-04 17:48:43 +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 - GNU autoconf 2.13 - GNU automake 1.4 (Beta releases are at 1999-01-17 16:54:58 +00:00
INSTALL Fix link to PNG home, remove reference to fribidi. 2000-12-05 20:53:30 +00:00
INSTALL.in Add check for db2html 2000-07-06 21:09:25 +00:00
ltconfig Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
ltmain.sh Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
makecopyright Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
Makefile.am gtk/gtkmain.c Use the new 2001-01-17 22:26:19 +00:00
NEWS Released 1.3.2 2000-11-18 01:49:13 +00:00
NEWS.pre-1-0 ooops, fogot this on my last commit... 1998-05-07 07:45:04 +00:00
README Fix srcdir != builddir 2000-11-14 16:38:04 +00:00
README.cvs-commits Fixed argument list and return type for non-XIM fallback. 1998-12-09 18:13:52 +00:00
README.in Adapt cast macros to standard. 1999-11-22 21:52:50 +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.2. 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.3.2

[ Please substitute 1.3.2 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.3.2

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