Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
dw::core::style::Tooltip Class Reference

#include <style.hh>

Public Member Functions

void ref ()
 
void unref ()
 
virtual void onEnter ()
 
virtual void onLeave ()
 
virtual void onMotion ()
 
- Public Member Functions inherited from dw::core::style::TooltipAttrs
 TooltipAttrs (const char *text)
 
- Public Member Functions inherited from lout::object::String
 String (const char *str)
 
 ~String ()
 
- Public Member Functions inherited from lout::object::ConstString
 ConstString (const char *str)
 
bool equals (Object *other)
 Returns, whether two objects are equal.
 
int hashValue ()
 Return a hash value for the object.
 
int compareTo (Comparable *other)
 Compare two objects, this and other.
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * chars ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Static Public Member Functions

static Tooltipcreate (dw::core::Layout *layout, const char *text)
 
- Static Public Member Functions inherited from lout::object::ConstString
static int hashValue (const char *str)
 

Protected Member Functions

 Tooltip (const char *text)
 

Private Attributes

int refCount
 

Additional Inherited Members

- Protected Attributes inherited from lout::object::ConstString
const char * str
 

Detailed Description

See also
dw::core::style

Definition at line 658 of file style.hh.

Constructor & Destructor Documentation

◆ Tooltip()

dw::core::style::Tooltip::Tooltip ( const char *  text)
inlineprotected

Definition at line 664 of file style.hh.

References refCount.

Member Function Documentation

◆ create()

Tooltip * dw::core::style::Tooltip::create ( dw::core::Layout layout,
const char *  text 
)
static

Definition at line 536 of file style.cc.

References layout.

Referenced by StyleEngine::apply().

◆ onEnter()

virtual void dw::core::style::Tooltip::onEnter ( )
inlinevirtual

Reimplemented in dw::fltk::FltkTooltip.

Definition at line 672 of file style.hh.

Referenced by dw::core::Widget::enterNotifyImpl(), and dw::Textblock::motionNotifyImpl().

◆ onLeave()

virtual void dw::core::style::Tooltip::onLeave ( )
inlinevirtual

◆ onMotion()

virtual void dw::core::style::Tooltip::onMotion ( )
inlinevirtual

Reimplemented in dw::fltk::FltkTooltip.

Definition at line 674 of file style.hh.

Referenced by dw::Textblock::motionNotifyImpl().

◆ ref()

void dw::core::style::Tooltip::ref ( )
inline

Definition at line 668 of file style.hh.

References refCount.

Referenced by dw::core::style::Style::Style().

◆ unref()

void dw::core::style::Tooltip::unref ( )
inline

Definition at line 669 of file style.hh.

References refCount.

Referenced by dw::core::style::Style::~Style().

Member Data Documentation

◆ refCount

int dw::core::style::Tooltip::refCount
private

Definition at line 661 of file style.hh.

Referenced by ref(), Tooltip(), and unref().


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