source: trunk/gcc/libjava/gnu/awt/gtk/GtkContainerPeer.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/* GtkContainerPeer.java -- Implements ContainerPeer with GTK
2 Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
3
4This file is part of the peer AWT libraries of GNU Classpath.
5
6This library is free software; you can redistribute it and/or modify
7it under the terms of the GNU Library General Public License as published
8by the Free Software Foundation, either version 2 of the License, or
9(at your option) any later verion.
10
11This library is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Library General Public License for more details.
15
16You should have received a copy of the GNU Library General Public License
17along with this library; if not, write to the Free Software Foundation
18Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. */
19
20
21package gnu.awt.gtk;
22
23import java.awt.*;
24import java.awt.event.*;
25import java.awt.peer.ContainerPeer;
26
27public abstract class GtkContainerPeer extends GtkComponentPeer
28 implements ContainerPeer
29{
30 // FIXME?
31 static Insets insets = new Insets(0,0,0,0);
32
33 protected GtkContainerPeer (Container awtContainer)
34 {
35 super (awtContainer);
36 }
37
38 public Insets getInsets()
39 {
40 // FIXME?
41 return insets;
42 }
43
44 public void beginValidate()
45 {
46 // FIXME
47 }
48
49 public void endValidate()
50 {
51 // FIXME
52 }
53
54 protected native void create();
55}
Note: See TracBrowser for help on using the repository browser.