org.gnu.gtk

Class 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(Handle handle)
Construct an eventbox using a handle to a native resource.
Method Summary
booleangetAboveChild()
Returns whether the EventBox is above the window of its' child.
static EventBoxgetEventBox(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.
booleangetWindowVisible()
Returns whether the EventBox has a visible window
voidsetAboveChild(boolean aboveChild)
Returns whether the EventBox is above or below the windows of its' child.
voidsetWindowVisible(boolean isVisible)
Sets whether the EventBox has a visible window.

Constructor Detail

EventBox

public EventBox()
Construct a new EventBox object.

EventBox

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

Method Detail

getAboveChild

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

getEventBox

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

getType

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

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

setWindowVisible

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

Parameters: isVisible