Diffpack Documentation


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

BtGuiMenu Class Reference

Tk-based menu widget. More...

#include <BtGuiMenu.h>

Inheritance diagram for BtGuiMenu::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

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

Detailed Description

Tk-based menu widget.

NAME: BtGuiMenu - Tk-based menu widget

DESCRIPTION:

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


Constructor & Destructor Documentation

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

See documentation for the base class, "BtGuiWidget".

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

See documentation of one of the overloaded constructor.

BtGuiMenu::~BtGuiMenu ( )
 


Member Function Documentation

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

Associate the specified callback with the menu.


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