- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# TkCompoundOption Class Reference

Specifies whether the widget should display both an image and text. More...

`#include <tk_compoundoption.h>`

List of all members.

## Public Types

enum | opts { bottom = 0, center = 1, left = 2, none = 3, right = 4, top = 5 }
| C++ representation of this enumeration. More...

## Public Member Functions

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

## Static Public Member Functions

static TXmlObject * | newObject ()

## Detailed Description

Specifies whether the widget should display both an image and text.

If so, where the image should be placed relative to the text. Valid values for this option are bottom, center, left, none, right and top. The default value is none, meaning that the button will display either an image or text, depending on the values of the image and bitmap options. Valid for button, label, menu, menubutton, text widgets.

Date:
  01-13-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Enumeration Documentation

enum TkCompoundOption::opts

| C++ representation of this enumeration.

Enumerator:

  bottom | image placed on the bottom of the text
  center | image placed in the center of the text
  left | image placed on the left of the text
  none | only image or only text will be displayed
  right | image placed on the right of the text
  top | image placed on the top of the text

## Constructor & Destructor Documentation

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

| ctor

Parameters:

  | value | One of following : "bottom","center","left","none","right","top" or you can use static const members of TkCompoundOption : E_BOTTOM, E_CENTER, E_LEFT, E_NONE, E_RIGHT, E_TOP

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

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

Parameters:

  | value | One of following : bottom, center, left, none, right, top

## Member Function Documentation

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

| factory

Returns:

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

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