#include <pushbutton.h>
Inherits Wt::Button.
Inherited by Wt::ToggleButton.
Public Member Functions | |
| PushButton (Widget *parent=0, const std::string &name="PushButton::anon") | |
| void | setPixmap (const Pixmap &pixmap_up, const Pixmap &pixmap_down) |
Public Attributes | |
| WVar< bool > | down |
Protected Member Functions | |
| virtual void | drawButton (Painter *p) |
| virtual void | drawButtonLabel (Painter *p) |
| virtual void | buttonPressEvent () |
| virtual void | buttonCancelEvent () |
| virtual void | buttonReleaseEvent () |
| virtual void | buttonClickEvent () |
| virtual void | setButtonSize () |
In contrast to Button, this widget changes its appereance when being pressed.
| Wt::PushButton::PushButton | ( | Widget * | parent = 0, |
|
| const std::string & | name = "PushButton::anon" | |||
| ) |
| void Wt::PushButton::buttonCancelEvent | ( | ) | [protected, virtual] |
| void Wt::PushButton::buttonClickEvent | ( | ) | [protected, virtual] |
| void Wt::PushButton::buttonPressEvent | ( | ) | [protected, virtual] |
| void Wt::PushButton::buttonReleaseEvent | ( | ) | [protected, virtual] |
| void Wt::PushButton::drawButton | ( | Painter * | p | ) | [protected, virtual] |
Implements Wt::Button.
| void Wt::PushButton::drawButtonLabel | ( | Painter * | p | ) | [protected, virtual] |
Implements Wt::Button.
| void Wt::PushButton::setButtonSize | ( | ) | [protected, virtual] |
Implements Wt::Button.
| WVar<bool> Wt::PushButton::down |
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.