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

Field Summary

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

source, type

Constructor Summary

ToggleEvent(Object source)
Creates a new toggle event

Method Summary

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

getSource, getType, toString

Constructor Details

ToggleEvent

public ToggleEvent(Object source)
Creates a new toggle event

Parameters:
source - The object which produced the event