diff options
author | Tim Janik <timj@gtk.org> | 1999-02-20 19:00:53 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1999-02-20 19:00:53 +0000 |
commit | e0e893da8f9024334d59ad1ed1713fd70be05c22 (patch) | |
tree | a486827581410ab6c0e6ba742b8ecafae26af40c /gtk/gtkwindow.h | |
parent | af1efabafb56997362a2999fbb5d4960b442e90d (diff) | |
download | gtk+-e0e893da8f9024334d59ad1ed1713fd70be05c22.tar.gz |
added ::modal argument. (gtk_window_hide): reset window->modal from the
Sat Feb 20 19:44:36 1999 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c: added ::modal argument.
(gtk_window_hide): reset window->modal from the current grab state
(this is only relevant when grab_add/grab_remove is called on the
window by bypassing gtk_window_set_modal).
(gtk_window_remove_embedded_xid):
(gtk_window_add_embedded_xid): don't use g_print() but g_message()
within #ifdef G_ENABLE_DEBUG. when the hack got these functions
added (ChangeLog doesn't know them)?
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index fd307fae34..0a360ecac6 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -114,16 +114,18 @@ void gtk_window_set_geometry_hints (GtkWindow *window, * gtk_widget_set_usize() overrides the requisition, so sets a minimum * size, while this only sets the size requested from the WM. */ -void gtk_window_set_default_size (GtkWindow *window, - gint width, - gint height); +void gtk_window_set_default_size (GtkWindow *window, + gint width, + gint height); /* If window is set modal, input will be grabbed when show and released when hide */ void gtk_window_set_modal (GtkWindow *window, - gboolean modal); + gboolean modal); -void gtk_window_remove_embedded_xid (GtkWindow *window, guint xid); -void gtk_window_add_embedded_xid (GtkWindow *window, guint xid); +void gtk_window_remove_embedded_xid (GtkWindow *window, + guint xid); +void gtk_window_add_embedded_xid (GtkWindow *window, + guint xid); #ifdef __cplusplus } |