#include <WAnchor>
Inherits Wt::WInteractWidget.
Inheritance diagram for Wt::WAnchor:

Public Member Functions | |
| WAnchor (WContainerWidget *parent=0) | |
| Create an anchor going nowhere without any text. | |
| WAnchor (const std::string ref, WContainerWidget *parent=0) | |
| Create an anchor with a destination URL, but without any text. | |
| WAnchor (const std::string ref, const WString &text, WContainerWidget *parent=0) | |
| Create an anchor with a destination URL and anchor message. | |
| WAnchor (const std::string ref, WImage *image, WContainerWidget *parent=0) | |
| Create an anchor with a destination URL and anchor image. | |
| WLabel * | label () const |
| Access the label for this anchor. | |
| void | setRef (const std::string ref) |
| Change the destination URL for this anchor. | |
| const std::string | ref () const |
| Get the destination URL for this anchor. | |
WAnchor is an inline widget.
Use an anchor to link to another web page, using a text and/or image.
1.4.7