- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# TkWrapOption Class Reference

Specifies how to handle lines in the text that are too long to be displayed in a single line of the text's window. More...

`#include <tk_wrapoption.h>`

List of all members.

## Public Types

enum | opts { wrap_char = 0, wrap_none = 1, wrap_word = 2 }
| C++ representation of this enumeration. More...

## Public Member Functions

| TkWrapOption (const char *value)
| TkWrapOption (opts value)

## Detailed Description

Specifies how to handle lines in the text that are too long to be displayed in a single line of the text's window.

The value must be none or char or word. A wrap mode of none means that each line of text appears as exactly one line on the screen; extra characters that don't fit on the screen are not displayed. In the other modes each line of text will be broken up into several screen lines if necessary to keep all the characters visible. In char mode a screen line break may occur after any character; in word mode a line break will only be made at word boundaries.

Date:
  01-13-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Enumeration Documentation

enum TkWrapOption::opts

| C++ representation of this enumeration.

Enumerator:

  wrap_char | wrap exactly at character
  wrap_none | no text wrap
  wrap_word | word wouldn't be broken

## Constructor & Destructor Documentation

TkWrapOption::TkWrapOption | ( | const char * | value | ) | `[inline]`

| ctor

Parameters:

  | value | One of following : "char","none","word" or you can use static const members of TkWrapOption : E_CHAR, E_NONE, E_WORD

TkWrapOption::TkWrapOption | ( | opts | value | ) | `[inline]`

| ctor, use this constructor if you can, because it is faster

Parameters:

  | value | One of following : wrap_char, wrap_none, wrap_word

The documentation for this class was generated from the following files:

- H:/projs/dotNET/eda/src/tk/gui/options/enums/tk_wrapoption.h
- H:/projs/dotNET/eda/src/tk/gui/options/enums/tk_wrapoption.cpp