- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# ITextable Class Reference

Common interface implemented by all widgets with text-like content. More...

`#include <tk_base.h>`

Inheritance diagram for ITextable:

List of all members.

## Public Member Functions

virtual const string & | getText () const =0
| Gets content of widget in text form.
virtual void | setText (const string &text)=0
| Sets text of widget.

## Detailed Description

Common interface implemented by all widgets with text-like content.

Date:
  01-12-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Function Documentation

virtual const string& ITextable::getText | ( |  | ) | const`[pure virtual]`

| Gets content of widget in text form.

Returns:
  text content

Implemented in TkButton, TkCheckButton, TkEntry, TkLabel, TkRadioButton, and TkSpinBox.

virtual void ITextable::setText | ( | const string & | text | ) | `[pure virtual]`

| Sets text of widget.

Parameters:

  | text | text to set

Implemented in TkButton, TkCheckButton, TkEntry, TkLabel, TkRadioButton, and TkSpinBox.

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

- H:/projs/dotNET/eda/src/tk/gui/tk_base.h