---
name: "swtext"
section: "3"
platform: "linux"
package: "libsword-dev"
version: "1.5.3-3woody2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/swtext"
---

# swtext(3)

The basis for all text modules.

## NAME

SWText - The basis for all text modules.

## SYNOPSIS

`#include <swtext.h>`

Inherits **SWModule**.

Inherited by EchoMod, RawGBF, RawText, and zText.

### Public Methods

**SWText** (const char \*imodname=0, const char \*imoddesc=0, **SWDisplay** \*idisp=0, bool unicode=false)\
 *Initializes data for instance of SWText.* virtual **~SWText** ()\
 virtual **SWKey**\* **CreateKey** ()\
 *Create the correct key (***VerseKey**) for use with SWText.

## DETAILED DESCRIPTION

The basis for all text modules.

Definition at line 34 of file swtext.h.

## CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

### SWText::SWText (const char \* imodname = 0, const char \* imoddesc = 0, SWDisplay \* idisp = 0, bool unicode = false)

Initializes data for instance of SWText.

**Parameters:**

- *imodname*

  Internal name for module

- *imoddesc*

  Name to display to user for module

- *idisp*

  Display object to use for displaying

## AUTHOR

Generated automatically by Doxygen for The Sword Project from the source code.
