- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# TkStateOption Class Reference

TkStateOption represent two basic states of widget, that is normal or disabled. More...

`#include <tk_stateoption.h>`

List of all members.

## Public Types

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

## Public Member Functions

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

## Detailed Description

TkStateOption represent two basic states of widget, that is normal or disabled.

States:
normal - Basic state.
disabled - Widget is grayed, entering value is forbidden, widget cannot get focus.

Date:
  01-13-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Enumeration Documentation

enum TkStateOption::opts

| C++ representation of this enumeration.

Enumerator:

  normal | basic state
  disabled | widget is grayed

## Constructor & Destructor Documentation

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

| ctor

Parameters:

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

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

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

Parameters:

  | value | One of following : normal, disabled

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

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