Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CdgHelp Class Reference

Inheritance diagram for CdgHelp:

Inheritance graph
[legend]
Collaboration diagram for CdgHelp:

Collaboration graph
[legend]
List of all members.

Detailed Description

CdgHelp - a status line. This class allows to display a help message in a status line whenever the mouse pointer enters a widget.

Author:
Michael Daum (see also AUTHORS and THANKS for more)
Id
help.tcl,v 1.7 2004/02/25 14:40:42 micha Exp

Definition at line 19 of file help.tcl.

Public Member Functions

 CdgHelp (TclList args)
 clear ()
 gethelpstr (TclCommand w)
 sethelpstr (TclCommand w, TclString text, TclList args)
 show (TclCommand w)
 showstr (TclString text)
 unsethelpstr (TclCommand w)

Private Attributes

TclArray _messageOfWidget


Constructor & Destructor Documentation

CdgHelp::CdgHelp TclList  args  ) 
 

constructor

Definition at line 41 of file help.tcl.


Member Function Documentation

CdgHelp::clear  ) 
 

clear the display

Definition at line 125 of file help.tcl.

CdgHelp::gethelpstr TclCommand  w  ) 
 

returns the helpstring of a given widget

Definition at line 97 of file help.tcl.

CdgHelp::sethelpstr TclCommand  w,
TclString  text,
TclList  args
 

set the displayed text when the mouse enters the widget. install two events <Enter> and <Leave> for the widget Definition at line 62 of file help.tcl.

CdgHelp::show TclCommand  w  ) 
 

displays the associated helpmessage

Definition at line 111 of file help.tcl.

CdgHelp::showstr TclString  text  ) 
 

displays the a noregistered message

Definition at line 104 of file help.tcl.

CdgHelp::unsethelpstr TclCommand  w  ) 
 

unset the array-entry, remove the <Enter>- and <Leave>-bindings

Definition at line 85 of file help.tcl.


Member Data Documentation

TclArray CdgHelp::_messageOfWidget [private]
 

a hash mapping widgets to the help message that should be displayed.

Definition at line 35 of file help.tcl.


The documentation for this class was generated from the following file:
XCDG 0.95 (20 Oct 2004)