![]() |
![]() |
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.
Public Member Functions | |
void | disable () |
void | enable () |
void | force_window () |
const GtkTooltips* | gobj () const |
Provides access to the underlying C GtkObject. | |
GtkTooltips* | gobj () |
Provides access to the underlying C GtkObject. | |
void | set_tip (Widget& widget, const Glib::ustring& tip_text) |
void | set_tip (Widget& widget, const Glib::ustring& tip_text, const Glib::ustring& tip_private) |
Tooltips () | |
void | unset_tip (Widget& widget) |
virtual | ~Tooltips () |
Static Protected Member Functions | |
static GtkTooltipsData* | data_get (Widget& widget) |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Tooltips* | wrap (GtkTooltips* object, bool take_copy=false) |
virtual Gtk::Tooltips::~Tooltips | ( | ) | [virtual] |
Gtk::Tooltips::Tooltips | ( | ) |
static 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] |
GtkTooltips* Gtk::Tooltips::gobj | ( | ) | [inline] |
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 | ) |
Gtk::Tooltips* wrap | ( | GtkTooltips * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |