org.gnu.gnome

Class CanvasWidget

public class CanvasWidget extends CanvasItem

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()
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)