org.gnu.gtk.event

Class ToggleEvent

Implemented Interfaces:
Serializable

public class ToggleEvent
extends GtkEvent

This is an event for the toggling of ToggleButton widgets. To use events, you must use the ToggleListener class in combination with the addListener methods of the ToggeButton widget.

Nested Class Summary

static class
ToggleEvent.Type

Constructor Summary

ToggleEvent(Object source)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Method Summary

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

ToggleEvent

public ToggleEvent(Object source)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Creates a new toggle event
Parameters:
source - The object which produced the event