org.gnu.gdk

Class WindowAttr


public class WindowAttr
extends MemStruct

Attributes to use for a newly-created window.

Constructor Summary

WindowAttr()
WindowAttr(Handle handle)

Method Summary

Colormap
getColormap()
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.
Dimension
getDimension()
int
getEventMask()
Point
getPosition()
String
getTitle()
Visual
getVisual()
void
setColormap(Colormap map)
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.
void
setDimension(int width, int height)
void
setEventMask(int evtMask)
void
setPosition(int x, int y)
void
setTitle(String title)
void
setVisual(Visual visual)

Constructor Details

WindowAttr

public WindowAttr()

WindowAttr

public WindowAttr(Handle handle)

Method Details

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.setCursor(Cursor) 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.setCursor(Cursor) 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)