Dillo v3.1.1-119-g140d9ebd
|
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 |
TipWin * | tipwin |
TipWinButton::TipWinButton | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
const char * | l = 0 |
||
) |
TipWinButton::~TipWinButton | ( | void | ) |
Definition at line 139 of file tipwin.cc.
References TipWin::cancel(), mytooltip, and tipwin.
|
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().
void TipWinButton::set_tooltip | ( | const char * | s | ) |
Definition at line 162 of file tipwin.cc.
References dStrdup(), and mytooltip.
Referenced by Findbar::Findbar(), UI::make_filemenu_button(), UI::make_location(), UI::make_status_bar(), and UI::make_toolbar().
|
private |
Definition at line 36 of file tipwin.hh.
Referenced by handle(), set_tooltip(), TipWinButton(), and ~TipWinButton().
|
private |
Definition at line 37 of file tipwin.hh.
Referenced by handle(), TipWinButton(), and ~TipWinButton().