Wt::ToggleButton Class Reference

ToggleButton Class. More...

#include <togglebutton.h>

Inherits Wt::PushButton.

List of all members.

Public Member Functions

 ToggleButton (Widget *parent=0, const std::string &name="ToggleButton::anon")
bool isOn () const
void toggle ()

Protected Member Functions

virtual void buttonPressEvent ()
virtual void buttonCancelEvent ()
virtual void buttonReleaseEvent ()
virtual void buttonClickEvent ()

Detailed Description

ToggleButton Class.

In contrast to PushButton, this widget stays down (toggled)

Constructor & Destructor Documentation

Wt::ToggleButton::ToggleButton ( Widget parent = 0,
const std::string &  name = "ToggleButton::anon" 

Member Function Documentation

void Wt::ToggleButton::buttonCancelEvent (  )  [protected, virtual]

Reimplemented from Wt::PushButton.

void Wt::ToggleButton::buttonClickEvent (  )  [protected, virtual]

Reimplemented from Wt::PushButton.

void Wt::ToggleButton::buttonPressEvent (  )  [protected, virtual]

Reimplemented from Wt::PushButton.

void Wt::ToggleButton::buttonReleaseEvent (  )  [protected, virtual]

Reimplemented from Wt::PushButton.

bool Wt::ToggleButton::isOn (  )  const

void Wt::ToggleButton::toggle (  ) 

The documentation for this class was generated from the following files:

Generated Fri Jul 28 19:22:39 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.