org.gnu.gnome

Class CanvasWidget

public class CanvasWidget extends CanvasItem

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 have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.CanvasWidget.

The GnomeCanvasWidget is not a widget - it is a GnomeCanvasItem that is capable of containing a widget. You can use a to display any widget in a GnomeCanvas as if the widget were a GnomeCanvasItem.
Constructor Summary
CanvasWidget(CanvasGroup group)
Method Summary
AnchorTypegetAnchorType()
doublegetHeight()
static TypegetType()
Retrieve the runtime type used by the GLib library.
WidgetgetWidget()
doublegetWidth()
voidsetAnchorType(AnchorType aType)
voidsetHeight(double height)
voidsetWidget(Widget aWidget)
voidsetWidth(double width)

Constructor Detail

CanvasWidget

public CanvasWidget(CanvasGroup group)

Method Detail

getAnchorType

public AnchorType getAnchorType()

getHeight

public double getHeight()

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

getWidget

public Widget getWidget()

getWidth

public double getWidth()

setAnchorType

public void setAnchorType(AnchorType aType)

setHeight

public void setHeight(double height)

setWidget

public void setWidget(Widget aWidget)

setWidth

public void setWidth(double width)