Diffpack Documentation


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

BtGuiNoteBook Class Reference

Tix-based notebook widget. More...

#include <BtGuiNoteBook.h>

Inheritance diagram for BtGuiNoteBook::

BtGuiWidget BtGuiBase HandleId List of all members.

Public Methods

 BtGuiNoteBook (const BtGuiTkInterpreter &interf, const String &name="")
 BtGuiNoteBook (const BtGuiTkInterpreter &interf, const BtGuiWidget &parent, const String &name="")
 ~BtGuiNoteBook ()
virtual bool create ()
BtGuiFramenewPage (const String &label="")
const BtGuiFramegetPage (const String &name) const
BtGuiFramegetPage (const String &name)
const BtGuiFramegetNBFrame () const
BtGuiFramegetNBFrame ()

Detailed Description

Tix-based notebook widget.

NAME: BtGuiNoteBook - Tix-based notebook widget

DESCRIPTION:

C++ interface to a notebook widget in Tix, for use in GUI building. This is a page collection that is organized by tabs.


Constructor & Destructor Documentation

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

See documentation for the base class, "BtGuiWidget".

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

See documentation of one of the overloaded constructor.

BtGuiNoteBook::~BtGuiNoteBook ( )
 


Member Function Documentation

bool BtGuiNoteBook::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.

BtGuiFrame * BtGuiNoteBook::getNBFrame ( )
 

See documentation of one of the overloaded functions.

const BtGuiFrame * BtGuiNoteBook::getNBFrame ( ) const
 

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

BtGuiFrame * BtGuiNoteBook::getPage ( const String & name )
 

See documentation of one of the overloaded functions.

const BtGuiFrame * BtGuiNoteBook::getPage ( const String & name ) const
 

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

BtGuiFrame * BtGuiNoteBook::newPage ( const String & label = "" )
 

Add a new page to the notebook, using the specified text as page title.


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