logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Tooltips Class Reference

Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. More...

Inheritance diagram for Gtk::Tooltips:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~Tooltips ()
GtkTooltips* gobj ()
const GtkTooltips* gobj () const
 Tooltips ()
void enable ()
void disable ()
void set_tip (Widget& widget, const Glib::ustring& tip_text, const Glib::ustring& tip_private)
void set_tip (Widget& widget, const Glib::ustring& tip_text)
void unset_tip (Widget& widget)
void force_window ()

Static Protected Methods

GtkTooltipsData* data_get (Widget& widget)

Related Functions

(Note that these are not member functions.)

Gtk::Tooltips* wrap (GtkTooltips* object, bool take_copy=false)

Detailed Description

Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time.

They are especially helpful for adding more verbose descriptions of things such as buttons in a toolbar.

This widget holds tooltips for other widgets. You should only need one Tooltip widget for all widgets you wish to add tips to.


Constructor & Destructor Documentation

virtual Gtk::Tooltips::~Tooltips (   )  [virtual]
 

Gtk::Tooltips::Tooltips (   ) 
 


Member Function Documentation

GtkTooltipsData* Gtk::Tooltips::data_get ( Widget&    widget )  [static, protected]
 

void Gtk::Tooltips::disable (   ) 
 

void Gtk::Tooltips::enable (   ) 
 

void Gtk::Tooltips::force_window (   ) 
 

const GtkTooltips* Gtk::Tooltips::gobj (   )  const [inline]
 

Reimplemented from Gtk::Object.

GtkTooltips* Gtk::Tooltips::gobj (   )  [inline]
 

Reimplemented from Gtk::Object.

void Gtk::Tooltips::set_tip ( Widget&    widget,
const Glib::ustring&    tip_text
) 
 

void Gtk::Tooltips::set_tip ( Widget&    widget,
const Glib::ustring&    tip_text,
const Glib::ustring&    tip_private
) 
 

void Gtk::Tooltips::unset_tip ( Widget&    widget ) 
 


Friends And Related Function Documentation

Gtk::Tooltips* wrap ( GtkTooltips*    object,
bool    take_copy = false
)  [related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001