gtk/gdk
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
..
linux-fb Actually copy the whole gc, not just the public parts. 2001-02-20 10:56:41 +00:00
nanox Nov 17 20:14:20 2000 Owen Taylor <otaylor@redhat.com> 2000-11-18 01:49:50 +00:00
win32 small (not only) portability fixes 2001-02-25 17:25:09 +00:00
x11 test the window state stuff 2001-02-27 20:40:15 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdk.def updated for win32 msvc build 2001-02-19 21:54:04 +00:00
gdk.h small (not only) portability fixes 2001-02-25 17:25:09 +00:00
gdkcolor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcolor.h test was backward, so deprecated functions were excluded by default 2001-02-19 22:25:30 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkcursor.h s/refcount/ref_count/. 2000-02-13 08:16:48 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkdraw.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkdrawable.h add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkevents.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkevents.h test the window state stuff 2001-02-27 20:40:15 +00:00
gdkfont.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkfont.h GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdkgc.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkgc.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkglobals.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdki18n.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkim.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkimage.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkimage.h Make gdk_colormap_sync private since it was never exported in a header 2001-02-02 22:19:31 +00:00
gdkinput.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkinternals.h test the window state stuff 2001-02-27 20:40:15 +00:00
gdkkeys.c add gdkkeys.[hc] 2000-12-06 05:31:30 +00:00
gdkkeys.h add gdkkeys.[hc] 2000-12-06 05:31:30 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkpango.c convert the X coordinates so they're with respect to the line, rather than 2001-02-17 00:11:03 +00:00
gdkpango.h fix bug where it always set the foreground, even if we were only using a 2001-02-13 05:44:47 +00:00
gdkpixbuf-drawable.c Make gdk_colormap_sync private since it was never exported in a header 2001-02-02 22:19:31 +00:00
gdkpixbuf-render.c Clip the rectangle to be rendered to the drawable, since 2000-11-01 16:34:23 +00:00
gdkpixbuf.h contrib subdir 2000-10-09 17:22:20 +00:00
gdkpixmap.c return solid masks for xpms that have no transparent color. This makes the 2001-02-23 13:35:16 +00:00
gdkpixmap.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkproperty.h Remove g_convert (moved to glib) and now useless utf_to_latin1() 2000-09-14 16:41:20 +00:00
gdkrectangle.c Applied patch from Peter Osterlund to simplify the code while keeping the 2000-08-03 13:18:01 +00:00
gdkregion-generic.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
gdkrgb.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkrgb.h GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h fix this to be sane 2000-12-04 23:04:17 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkwindow.h test the window state stuff 2001-02-27 20:40:15 +00:00
Makefile.am better error message if you try to add a widget to a bin that already has 2001-02-09 00:40:48 +00:00
makefile.mingw.in Add gdkkeys. 2000-12-14 23:14:18 +00:00
makefile.msc updated for win32 msvc build 2001-02-19 21:54:04 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00