vdk 2.4.0
Public Member Functions
VDKTooltip Class Reference

Provides a tooltip. More...

#include <tooltips.h>

Inheritance diagram for VDKTooltip:
VDKObject VDKNotCopyAble

List of all members.

Public Member Functions


Detailed Description

Provides a tooltip.


Constructor & Destructor Documentation

VDKTooltip::VDKTooltip ( VDKForm owner,
VDKObject tipped,
char *  tip,
int  delay = 0 
)

Constructor.

Parameters:
owner
tippedobject
tip
delay
VDKTooltip::~VDKTooltip ( )

Destructor


Member Function Documentation

void VDKTooltip::SetColors ( int  fred,
int  fgreen,
int  fblue,
int  bred,
int  bgreen,
int  bblue 
) [virtual]

This does not work at all !

TIP
Tip background should be customized via an rc file like this:
    style "tooltip"
    {
      bg[NORMAL] = {1.0, 1.0, 0.0}
      fg[NORMAL] = {0.0, 1.0, 0.0}
    }
    widget "gtk-tooltips*" style "tooltip"
Recall that almost all gtk themes except default one override your tip settings.
void VDKTooltip::SetDelay ( int  delay)

Sets delay time in msecs

void VDKTooltip::SetTip ( char *  tipString) [virtual]

Change tip

Reimplemented from VDKObject.


The documentation for this class was generated from the following files: