Diffpack Documentation


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

BtGuiButton Class Reference

Tk-based button widget. More...

#include <BtGuiButton.h>

Inheritance diagram for BtGuiButton::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

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

Detailed Description

Tk-based button widget.

NAME: BtGuiButton - Tk-based button widget

DESCRIPTION:

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


Constructor & Destructor Documentation

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

See documentation for the base class, "BtGuiWidget".

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

See documentation of one of the overloaded constructor.

BtGuiButton::~BtGuiButton ( )
 


Member Function Documentation

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

Associate the specified callback with the button.


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