Documentation

If you're just getting started, you should check out the tutorials. If you're looking for information on specific widgets or features, consult the reference manual and widget gallery. Check our Redmine for forums, issues, and wiki.

Introduction

Introduction and tutorials

If you're just getting started with Wt, these tutorials are good place to start.

Reference Manual

Use the reference documentation to see which classes and functions are included in Wt and how they should be used.

Community

Widget Gallery

The widget gallery showcases most widgets available in Wt, with the source code to accomplish these examples. It's a good way to see what Wt has to offer and to get a feel for how these features can be used.

Examples

Choose an example:

Hangman

This example implements a simple well-known game, including a user ranking system, which is persisted to a database using Wt::Dbo.

Some of the things illustrated in this example:

  • Different approaches to layout: using an HTML template, a layout manager, or by compositing basic widgets and CSS.
  • Using hidden content to optimize the user experience by preloading contents, used in this game to preload the various images used to show the hanging man.
  • Navigation is implemented using WAnchor which reference an internal path. Action is taken by reacting to internal path changes.
  • The example uses the authentication module (Wt::Auth) to authenticate users using a username/password, or using Google's beta OAuth 2.0 service.
  • A database which contains user information is accessed and updated using Wt::Dbo.