Diffpack Documentation


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

BtGuiScale Class Reference

Tk-based slider widget. More...

#include <BtGuiScale.h>

Inheritance diagram for BtGuiScale::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

 BtGuiScale (const BtGuiTkInterpreter &interf, const String &name="")
 BtGuiScale (const BtGuiTkInterpreter &interf, const BtGuiWidget &parent, const String &name="")
 ~BtGuiScale ()
virtual bool create ()
void setCommand (const BtGuiCallback &command)
void setVariable (const BtGuiVariable &variable)

Detailed Description

Tk-based slider widget.

NAME: BtGuiScale - Tk-based slider widget

DESCRIPTION:

C++ interface to a slider widget in Tk, for use in GUI building.


Constructor & Destructor Documentation

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

See documentation for the base class, "BtGuiWidget".

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

See documentation of one of the overloaded constructor.

BtGuiScale::~BtGuiScale ( )
 


Member Function Documentation

bool BtGuiScale::create ( ) [virtual]
 

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

Reimplemented from BtGuiWidget.

void BtGuiScale::setCommand ( const BtGuiCallback & command )
 

Associate the specified callback with the button.

void BtGuiScale::setVariable ( const BtGuiVariable & variable )
 

Set the variable needed to store the user response.


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