org.gnu.gnome
Class CanvasWidget

java.lang.Object
  extended byorg.gnu.glib.GObject
      extended byorg.gnu.gtk.GtkObject
          extended byorg.gnu.gnome.CanvasItem
              extended byorg.gnu.gnome.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
 org.gnu.gtk.AnchorType getAnchorType()
           
 double getHeight()
           
static org.gnu.glib.Type getType()
          Retrieve the runtime type used by the GLib library.
 org.gnu.gtk.Widget getWidget()
           
 double getWidth()
           
 void setAnchorType(org.gnu.gtk.AnchorType aType)
           
 void setHeight(double height)
           
 void setWidget(org.gnu.gtk.Widget aWidget)
           
 void setWidth(double width)
           
 
Methods inherited from class org.gnu.gnome.CanvasItem
affineAbsolute, affineRelative, getCanvas, getParent, getX1, getX2, getY1, getY2, hide, lower, lowerToBotton, move, raise, raiseToTop, show
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringProperty, hashCode, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanvasWidget

public CanvasWidget(CanvasGroup group)
Method Detail

getType

public static org.gnu.glib.Type getType()
Retrieve the runtime type used by the GLib library.


getWidget

public org.gnu.gtk.Widget getWidget()

setWidget

public void setWidget(org.gnu.gtk.Widget aWidget)

getHeight

public double getHeight()

setHeight

public void setHeight(double height)

getWidth

public double getWidth()

setWidth

public void setWidth(double width)

getAnchorType

public org.gnu.gtk.AnchorType getAnchorType()

setAnchorType

public void setAnchorType(org.gnu.gtk.AnchorType aType)