Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

BtGuiOptionMenu Class Reference

Tix-based option menu widget. More...

#include <BtGuiOptionMenu.h>

Inheritance diagram for BtGuiOptionMenu::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

 BtGuiOptionMenu (const BtGuiTkInterpreter &interf, const String &name="")
 BtGuiOptionMenu (const BtGuiTkInterpreter &interf, const BtGuiWidget &parent, const String &name="")
 ~BtGuiOptionMenu ()
const BtGuiLabelgetLabelWidget () const
BtGuiLabelgetLabelWidget ()
virtual bool create ()
void setVariable (const BtGuiVariable &var)
String subwidget (const String &name)

Detailed Description

Tix-based option menu widget.

NAME: BtGuiOptionMenu - Tix-based option menu widget

DESCRIPTION:

C++ interface to an option menu widget in Tix, for use in GUI building. This widget presents the user with a menu list of predefined options to choose from.


Constructor & Destructor Documentation

BtGuiOptionMenu::BtGuiOptionMenu ( const BtGuiTkInterpreter & interf,
const String & name = "" )
 

See documentation for the base class, "BtGuiWidget".

BtGuiOptionMenu::BtGuiOptionMenu ( const BtGuiTkInterpreter & interf,
const BtGuiWidget & parent,
const String & name = "" )
 

See documentation of one of the overloaded constructor.

BtGuiOptionMenu::~BtGuiOptionMenu ( )
 


Member Function Documentation

bool BtGuiOptionMenu::create ( ) [virtual]
 

Create the widget and feed it to the Tix interpreter. Returns true if the creation was successful, otherwise it returns false.

Reimplemented from BtGuiWidget.

BtGuiLabel & BtGuiOptionMenu::getLabelWidget ( )
 

See documentation of one of the overloaded functions.

const BtGuiLabel & BtGuiOptionMenu::getLabelWidget ( ) const
 

Get access to the label widget. Two functions are provided, one for read-only and one for write access.

void BtGuiOptionMenu::setVariable ( const BtGuiVariable & var )
 

Register the variable needed to store the user input.

String BtGuiOptionMenu::subwidget ( const String & name )
 

Get access to the named subwidget.

Reimplemented from BtGuiWidget.


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.