org.gnu.gtk
Class EventBox

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.GtkObject
              extended by org.gnu.gtk.Widget
                  extended by org.gnu.gtk.Container
                      extended by org.gnu.gtk.Bin
                          extended by org.gnu.gtk.EventBox

public class EventBox
extends Bin

The EventBox widget is a container with a seethrough window that can receive events for the container widget - normally one that cannot recvieve its own. Events are sent to the windows, so a widget without windows cannot recieve events.


Constructor Summary
EventBox()
          Construct a new EventBox object.
EventBox(org.gnu.glib.Handle handle)
          Construct an eventbox using a handle to a native resource.
 
Method Summary
 boolean getAboveChild()
          Returns whether the EventBox is above the window of its' child.
static EventBox getEventBox(org.gnu.glib.Handle handle)
          Internal static factory method to be used by Java-Gnome only.
static Type getType()
          Retrieve the runtime type used by the GLib library.
 boolean getWindowVisible()
          Returns whether the EventBox has a visible window
 void setAboveChild(boolean aboveChild)
          Returns whether the EventBox is above or below the windows of its' child.
 void setWindowVisible(boolean isVisible)
          Sets whether the EventBox has a visible window.
 
Methods inherited from class org.gnu.gtk.Bin
getChild
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBox

public EventBox()
Construct a new EventBox object.


EventBox

public EventBox(org.gnu.glib.Handle handle)
Construct an eventbox using a handle to a native resource.

Method Detail

getEventBox

public static EventBox getEventBox(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only.


setWindowVisible

public void setWindowVisible(boolean isVisible)
Sets whether the EventBox has a visible window.

Parameters:
isVisible -

getWindowVisible

public boolean getWindowVisible()
Returns whether the EventBox has a visible window

Returns:
true if the EventBox has a visible window.

setAboveChild

public void setAboveChild(boolean aboveChild)
Returns whether the EventBox is above or below the windows of its' child.

Parameters:
aboveChild -

getAboveChild

public boolean getAboveChild()
Returns whether the EventBox is above the window of its' child.


getType

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