/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkWindowPeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkWindowPeer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27.2.3 by gnu_andrew, Wed Feb 16 01:11:40 2005 UTC revision 1.27.2.4 by gnu_andrew, Sat Feb 19 10:50:28 2005 UTC
# Line 1  Line 1 
1  /* GtkWindowPeer.java -- Implements WindowPeer with GTK  /* GtkWindowPeer.java -- Implements WindowPeer with GTK
2     Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2002, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 47  import java.awt.peer.WindowPeer; Line 47  import java.awt.peer.WindowPeer;
47  public class GtkWindowPeer extends GtkContainerPeer  public class GtkWindowPeer extends GtkContainerPeer
48    implements WindowPeer    implements WindowPeer
49  {  {
50    static protected final int GDK_WINDOW_TYPE_HINT_NORMAL = 0;    protected static final int GDK_WINDOW_TYPE_HINT_NORMAL = 0;
51    static protected final int GDK_WINDOW_TYPE_HINT_DIALOG = 1;    protected static final int GDK_WINDOW_TYPE_HINT_DIALOG = 1;
52    static protected final int GDK_WINDOW_TYPE_HINT_MENU = 2;    protected static final int GDK_WINDOW_TYPE_HINT_MENU = 2;
53    static protected final int GDK_WINDOW_TYPE_HINT_TOOLBAR = 3;    protected static final int GDK_WINDOW_TYPE_HINT_TOOLBAR = 3;
54    static protected final int GDK_WINDOW_TYPE_HINT_SPLASHSCREEN = 4;    protected static final int GDK_WINDOW_TYPE_HINT_SPLASHSCREEN = 4;
55    static protected final int GDK_WINDOW_TYPE_HINT_UTILITY = 5;    protected static final int GDK_WINDOW_TYPE_HINT_UTILITY = 5;
56    static protected final int GDK_WINDOW_TYPE_HINT_DOCK = 6;    protected static final int GDK_WINDOW_TYPE_HINT_DOCK = 6;
57    static protected final int GDK_WINDOW_TYPE_HINT_DESKTOP = 7;    protected static final int GDK_WINDOW_TYPE_HINT_DESKTOP = 7;
58    
59    private boolean hasBeenShown = false;    private boolean hasBeenShown = false;
60    private int oldState = Frame.NORMAL;    private int oldState = Frame.NORMAL;
# Line 112  public class GtkWindowPeer extends GtkCo Line 112  public class GtkWindowPeer extends GtkCo
112      super (window);      super (window);
113    }    }
114    
115    native public void toBack ();    public native void toBack();
116    native public void toFront ();    public native void toFront();
117    
118    native void nativeSetBounds (int x, int y, int width, int height);    native void nativeSetBounds (int x, int y, int width, int height);
119    

Legend:
Removed from v.1.27.2.3  
changed lines
  Added in v.1.27.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26