org.gnu.gtk.event

Interface ToggleListener

public interface ToggleListener

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use signals. In particular, Listener interfaces and Event classes have been collapsed to a single interface in the new design.

A Listener interface for toggle events.
Method Summary
voidtoggleEvent(ToggleEvent event)
If the listener is added to the ToggleButton widget, this method is called whenever the widget is toggled.

Method Detail

toggleEvent

public void toggleEvent(ToggleEvent event)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the project API is an algorithmic mapping of the underlying native libraries.

If the listener is added to the ToggleButton widget, this method is called whenever the widget is toggled.