- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# Tk3StateOption Class Reference

Tk3StateOption represent three basic states of widget, that is normal,disabled and readonly. More...

`#include <tk_3stateoption.h>`

List of all members.

## Public Types

enum | opts { normal = 0, disabled = 1, readonly = 2 }
| C++ representation of this enumeration. More...

## Public Member Functions

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

## Static Public Member Functions

static TXmlObject * | newObject ()

## Detailed Description

Tk3StateOption represent three basic states of widget, that is normal,disabled and readonly.

States:
normal - Basic state.
disabled - Widget is grayed, entering value is forbidden, widget cannot get focus.
readonly - Widget is grayed, entering text value is forbidden, but user can copy this value.

Date:
  01-13-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Enumeration Documentation

enum Tk3StateOption::opts

| C++ representation of this enumeration.

Enumerator:

  normal | basic state
  disabled | widget is grayed
  readonly | widget is grayed, but user can copy from it

## Constructor & Destructor Documentation

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

| ctor

Parameters:

  | value | One of following : "normal","disabled","readonly" or you can use static const members of Tk3StateOption : E_NORMAL, E_DISABLED, E_READONLY

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

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

Parameters:

  | value | One of following : normal,disabled,readonly

## Member Function Documentation

static TXmlObject* Tk3StateOption::newObject | ( |  | ) | `[inline, static]`

| factory for Tk3StateOption

See also:
  TXmlObject

Returns:
  new empty instance of Tk3StateOption

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

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