2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New field. (initializeInsets): New method. (GtkComponentPeer): Call initializeInsets. Call setCursor and setBounds unconditionally. (setBounds): Convert coordinates if parent is a Window. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move field to GtkComponentPeer. (GtkContainerPeer): Don't initialize insets. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. (setBounds): Remove method. (postConfigureEvent): Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window type constants with GDK window type constants. (create(int,boolean,int,int,GtkWindowPeer)): New method. (create(int,boolean)): Likewise. (create()): Call create(int,boolean). (nativeSetBounds): New native method declaration. (setBounds): Call native method declaration. (setSize): New native method declaration. (setBoundsCallback): Likewise. (postConfigureEvent): Handle change in insets. Call setSize and setBoundsCallback methods. * java/awt/Window.java (Window): Set visible to false. (setBoundsCallback): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkWidgetGetLocationOnScreen): If this component is not a container, adjust the location returned based on the peer's allocation. (set(String,boolean)): Revert change from 2003-09-19. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Fix inset calculation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI glue for Window.setBoundsCallback. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Set up stacking order, window decorations and window manager hints. (setBoundsCallback): New method. (setSize): New method. (nativeSetBounds): New method. * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID. From-SVN: r72043
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| GdkFontMetrics.java | Loading commit data... | |
| GdkGraphics.java | Loading commit data... | |
| GdkGraphics2D.java | Loading commit data... | |
| GdkPixbufDecoder.java | Loading commit data... | |
| GtkArg.java | Loading commit data... | |
| GtkArgList.java | Loading commit data... | |
| GtkButtonPeer.java | Loading commit data... | |
| GtkCanvasPeer.java | Loading commit data... | |
| GtkCheckboxGroupPeer.java | Loading commit data... | |
| GtkCheckboxMenuItemPeer.java | Loading commit data... | |
| GtkCheckboxPeer.java | Loading commit data... | |
| GtkChoicePeer.java | Loading commit data... | |
| GtkClipboard.java | Loading commit data... | |
| GtkComponentPeer.java | Loading commit data... | |
| GtkContainerPeer.java | Loading commit data... | |
| GtkDialogPeer.java | Loading commit data... | |
| GtkEmbeddedWindowPeer.java | Loading commit data... | |
| GtkFileDialogPeer.java | Loading commit data... | |
| GtkFontPeer.java | Loading commit data... | |
| GtkFramePeer.java | Loading commit data... | |
| GtkGenericPeer.java | Loading commit data... | |
| GtkImage.java | Loading commit data... | |
| GtkImagePainter.java | Loading commit data... | |
| GtkLabelPeer.java | Loading commit data... | |
| GtkListPeer.java | Loading commit data... | |
| GtkMainThread.java | Loading commit data... | |
| GtkMenuBarPeer.java | Loading commit data... | |
| GtkMenuComponentPeer.java | Loading commit data... | |
| GtkMenuItemPeer.java | Loading commit data... | |
| GtkMenuPeer.java | Loading commit data... | |
| GtkOffScreenImage.java | Loading commit data... | |
| GtkPanelPeer.java | Loading commit data... | |
| GtkPopupMenuPeer.java | Loading commit data... | |
| GtkScrollPanePeer.java | Loading commit data... | |
| GtkScrollbarPeer.java | Loading commit data... | |
| GtkTextAreaPeer.java | Loading commit data... | |
| GtkTextComponentPeer.java | Loading commit data... | |
| GtkTextFieldPeer.java | Loading commit data... | |
| GtkToolkit.java | Loading commit data... | |
| GtkWindowPeer.java | Loading commit data... | |
| Test.java | Loading commit data... | |
| TestAWT.java | Loading commit data... |