b59b508138
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 |
||
---|---|---|
.. | ||
color | ||
datatransfer | ||
dnd | ||
event | ||
font | ||
geom | ||
im | ||
image | ||
peer | ||
ActiveEvent.java | ||
Adjustable.java | ||
AlphaComposite.java | ||
AttributeValue.java | ||
AWTError.java | ||
AWTEvent.java | ||
AWTEventMulticaster.java | ||
AWTException.java | ||
AWTKeyStroke.java | ||
AWTPermission.java | ||
BasicStroke.java | ||
BorderLayout.java | ||
BufferCapabilities.java | ||
Button.java | ||
Canvas.java | ||
CardLayout.java | ||
Checkbox.java | ||
CheckboxGroup.java | ||
CheckboxMenuItem.java | ||
Choice.java | ||
Color.java | ||
ColorPaintContext.java | ||
Component.java | ||
ComponentOrientation.java | ||
Composite.java | ||
CompositeContext.java | ||
Container.java | ||
ContainerOrderFocusTraversalPolicy.java | ||
Cursor.java | ||
DefaultFocusTraversalPolicy.java | ||
DefaultKeyboardFocusManager.java | ||
Dialog.java | ||
Dimension.java | ||
DisplayMode.java | ||
Event.java | ||
EventDispatchThread.java | ||
EventQueue.java | ||
FileDialog.java | ||
FlowLayout.java | ||
FocusTraversalPolicy.java | ||
Font.java | ||
FontFormatException.java | ||
FontMetrics.java | ||
Frame.java | ||
GradientPaint.java | ||
Graphics2D.java | ||
Graphics.java | ||
GraphicsConfigTemplate.java | ||
GraphicsConfiguration.java | ||
GraphicsDevice.java | ||
GraphicsEnvironment.java | ||
GridBagConstraints.java | ||
GridBagLayout.java | ||
GridBagLayoutInfo.java | ||
GridLayout.java | ||
HeadlessException.java | ||
IllegalComponentStateException.java | ||
Image.java | ||
ImageCapabilities.java | ||
Insets.java | ||
ItemSelectable.java | ||
JobAttributes.java | ||
KeyboardFocusManager.java | ||
KeyEventDispatcher.java | ||
KeyEventPostProcessor.java | ||
Label.java | ||
LayoutManager2.java | ||
LayoutManager.java | ||
List.java | ||
MediaTracker.java | ||
Menu.java | ||
MenuBar.java | ||
MenuComponent.java | ||
MenuContainer.java | ||
MenuItem.java | ||
MenuShortcut.java | ||
PageAttributes.java | ||
Paint.java | ||
PaintContext.java | ||
Panel.java | ||
Point.java | ||
Polygon.java | ||
PopupMenu.java | ||
PrintGraphics.java | ||
PrintJob.java | ||
Rectangle.java | ||
RenderingHints.java | ||
Robot.java | ||
Scrollbar.java | ||
ScrollPane.java | ||
ScrollPaneAdjustable.java | ||
Shape.java | ||
Stroke.java | ||
SystemColor.java | ||
TextArea.java | ||
TextComponent.java | ||
TextField.java | ||
TexturePaint.java | ||
Toolkit.java | ||
Transparency.java | ||
Window.java |