Diffpack Documentation


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

BtGuiCheckButton Class Reference

Tk-based check button widget. More...

#include <BtGuiCheckButton.h>

Inheritance diagram for BtGuiCheckButton::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

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

Detailed Description

Tk-based check button widget.

NAME: BtGuiCheckButton - Tk-based check button widget

DESCRIPTION:

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


Constructor & Destructor Documentation

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

See documentation for the base class, "BtGuiWidget".

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

See documentation of one of the overloaded constructor.

BtGuiCheckButton::~BtGuiCheckButton ( )
 


Member Function Documentation

bool BtGuiCheckButton::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 BtGuiCheckButton::setCommand ( const BtGuiCallback & command )
 

Associate the specified callback with the button.

void BtGuiCheckButton::setVariable ( const BtGuiVariable & variable )
 

Set variable needed to catch the user input.


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