Wt::WAnchor Class Reference

A WWidget that represents an HTML anchor. More...

#include <WAnchor>

Inherits Wt::WInteractWidget.

Inheritance diagram for Wt::WAnchor:

Inheritance graph
[legend]
List of all members.

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.
WLabellabel () 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.

Detailed Description

A WWidget that represents an HTML anchor.

WAnchor is an inline widget.

Use an anchor to link to another web page, using a text and/or image.


The documentation for this class was generated from the following files:
Generated on Sun Jul 1 19:37:18 2007 for Wt by doxygen 1.4.7