org.gnu.gdk

Class WindowAttr

public class WindowAttr extends MemStruct

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.WindowAttr.

Attributes to use for a newly-created window.
Constructor Summary
WindowAttr(Handle handle)
WindowAttr()
Method Summary
ColormapgetColormap()
CursorgetCursor()
Get the cursor used by this WindowAttr.
DimensiongetDimension()
intgetEventMask()
PointgetPosition()
StringgetTitle()
VisualgetVisual()
voidsetColormap(Colormap map)
voidsetCursor(Cursor cursor)
Set the cursor used by this WindowAttr.
voidsetDimension(int width, int height)
voidsetEventMask(int evtMask)
voidsetPosition(int x, int y)
voidsetTitle(String title)
voidsetVisual(Visual visual)

Constructor Detail

WindowAttr

public WindowAttr(Handle handle)

WindowAttr

public WindowAttr()

Method Detail

getColormap

public Colormap getColormap()

getCursor

public Cursor getCursor()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Get the cursor used by this WindowAttr.

Use Window to set the Window's cursor.

getDimension

public Dimension getDimension()

getEventMask

public int getEventMask()

getPosition

public Point getPosition()

getTitle

public String getTitle()

getVisual

public Visual getVisual()

setColormap

public void setColormap(Colormap map)

setCursor

public void setCursor(Cursor cursor)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Set the cursor used by this WindowAttr.

Use Window to set the Window's cursor.

setDimension

public void setDimension(int width, int height)

setEventMask

public void setEventMask(int evtMask)

setPosition

public void setPosition(int x, int y)

setTitle

public void setTitle(String title)

setVisual

public void setVisual(Visual visual)