23a555b077
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove modality check. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): Initialize insets to use latest insets. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New field. (postConfigureEvent): Update latestInsets field when insets change. Remove call to setSize. Move validate call outside of if blocks. (setVisible): Call setBounds before showing window. (nativeSetVisible): New native method. * java/awt/Window.java (show): Show visible owned windows. (hide): Hide visible owned windows. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Implement modality using GTK grabs. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (global_gtk_window_group): New global variable. (gtkInit): Initialize global_gtk_window_group. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Clamp width and height values to at least 1. Add this window to the global GTK window group. (setVisible): Rename to nativeSetVisible. (setup_window): Remove function. (setSize): Clamp width and height values to at least 1. (nativeSetBounds): Likewise. (gdk_window_get_root_geometry): Remove function. * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry and setup_window declarations. Declare global_gtk_window_group. From-SVN: r72252 |
||
---|---|---|
.. | ||
gnu_java_awt_peer_gtk_GdkFontMetrics.c | ||
gnu_java_awt_peer_gtk_GdkGraphics2D.c | ||
gnu_java_awt_peer_gtk_GdkGraphics.c | ||
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | ||
gnu_java_awt_peer_gtk_GtkButtonPeer.c | ||
gnu_java_awt_peer_gtk_GtkCanvasPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | ||
gnu_java_awt_peer_gtk_GtkChoicePeer.c | ||
gnu_java_awt_peer_gtk_GtkClipboard.c | ||
gnu_java_awt_peer_gtk_GtkComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c | ||
gnu_java_awt_peer_gtk_GtkEvents.c | ||
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | ||
gnu_java_awt_peer_gtk_GtkImagePainter.c | ||
gnu_java_awt_peer_gtk_GtkLabelPeer.c | ||
gnu_java_awt_peer_gtk_GtkListPeer.c | ||
gnu_java_awt_peer_gtk_GtkMainThread.c | ||
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkPanelPeer.c | ||
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | ||
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | ||
gnu_java_awt_peer_gtk_GtkToolkit.c | ||
gnu_java_awt_peer_gtk_GtkWindowPeer.c | ||
gthread-jni.c | ||
gthread-jni.h | ||
gtkpeer.h |