Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
TipWinButton Class Reference

A Button sharing a custom tooltip window. More...

#include <tipwin.hh>

Public Member Functions

 TipWinButton (int x, int y, int w, int h, const char *l=0)
 A Button sharing a custom tooltip window.
 
 ~TipWinButton ()
 
virtual int handle (int e)
 
void set_tooltip (const char *s)
 

Private Attributes

char * mytooltip
 
TipWintipwin
 

Detailed Description

A Button sharing a custom tooltip window.

Definition at line 35 of file tipwin.hh.

Constructor & Destructor Documentation

◆ TipWinButton()

TipWinButton::TipWinButton ( int  x,
int  y,
int  w,
int  h,
const char *  l = 0 
)

A Button sharing a custom tooltip window.

Definition at line 132 of file tipwin.cc.

References dStrdup(), my_tipwin(), mytooltip, and tipwin.

◆ ~TipWinButton()

TipWinButton::~TipWinButton ( void  )

Definition at line 139 of file tipwin.cc.

References TipWin::cancel(), mytooltip, and tipwin.

Member Function Documentation

◆ handle()

int TipWinButton::handle ( int  e)
virtual

Reimplemented in CustButton.

Definition at line 145 of file tipwin.cc.

References TipWin::do_hide(), TipWin::do_show(), mytooltip, tipwin, and TipWin::value().

Referenced by CustButton::handle().

◆ set_tooltip()

void TipWinButton::set_tooltip ( const char *  s)

Member Data Documentation

◆ mytooltip

char* TipWinButton::mytooltip
private

Definition at line 36 of file tipwin.hh.

Referenced by handle(), set_tooltip(), TipWinButton(), and ~TipWinButton().

◆ tipwin

TipWin* TipWinButton::tipwin
private

Definition at line 37 of file tipwin.hh.

Referenced by handle(), TipWinButton(), and ~TipWinButton().


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