|
| | Tooltip (Tooltip &&src) noexcept |
| |
| Tooltip & | operator= (Tooltip &&src) noexcept |
| |
| | ~Tooltip () noexcept override |
| |
| GtkTooltip * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkTooltip * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GtkTooltip * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| void | set_markup (const Glib::ustring &markup) |
| | Sets the text of the tooltip to be markup.
|
| |
| void | unset_markup () |
| | Hide the label.
|
| |
| void | set_text (const Glib::ustring &text) |
| | Sets the text of the tooltip to be text.
|
| |
| void | unset_text () |
| | Hide the label.
|
| |
| void | set_icon (const Glib::RefPtr< Gdk::Paintable > &paintable) |
| | Sets the icon of the tooltip (which is in front of the text) to be paintable.
|
| |
| void | set_icon (const Glib::RefPtr< Gio::Icon > &gicon) |
| | Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by gicon with the size indicated by size.
|
| |
| void | set_icon (const Glib::ustring &icon_name) |
| | Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by icon_name with the size indicated by size.
|
| |
| void | unset_icon () |
| | Hide the image.
|
| |
| void | set_custom (Widget &custom_widget) |
| | Replaces the widget packed into the tooltip with custom_widget.
|
| |
| void | unset_custom () |
| | Remove the custom widget.
|
| |
| void | set_tip_area (const Gdk::Rectangle &rect) |
| | Sets the area of the widget, where the contents of this tooltip apply, to be rect (in widget coordinates).
|
| |
| | Object (const Object &)=delete |
| |
| Object & | operator= (const Object &)=delete |
| |
| | Object (Object &&src) noexcept |
| |
| Object & | operator= (Object &&src) noexcept |
| |
| void * | get_data (const QueryQuark &key) |
| |
| void | set_data (const Quark &key, void *data) |
| |
| void | set_data_with_c_callback (const Quark &key, void *data, GDestroyNotify notify) |
| |
| void | set_data (const Quark &key, void *data, DestroyNotify notify) |
| |
| void | remove_data (const QueryQuark &quark) |
| |
| void * | steal_data (const QueryQuark &quark) |
| |
| Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
| |
| | ObjectBase (const ObjectBase &)=delete |
| |
| ObjectBase & | operator= (const ObjectBase &)=delete |
| |
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
| |
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
| |
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
| |
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
| |
| PropertyType | get_property (const Glib::ustring &property_name) const |
| |
| sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
| |
| sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
| |
| void | freeze_notify () |
| |
| void | thaw_notify () |
| |
| virtual void | reference () const |
| |
| virtual void | unreference () const |
| |
| GObject * | gobj () |
| |
| const GObject * | gobj () const |
| |
| GObject * | gobj_copy () const |
| |
| | trackable () noexcept |
| |
| | trackable (const trackable &src) noexcept |
| |
| | trackable (trackable &&src) noexcept |
| |
| | ~trackable () |
| |
| void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
| |
| void | notify_callbacks () |
| |
| trackable & | operator= (const trackable &src) |
| |
| trackable & | operator= (trackable &&src) noexcept |
| |
| void | remove_destroy_notify_callback (notifiable *data) const |
| |
Add tips to your widgets.
Basic tooltips can be realized simply by using set_tooltip_text() or set_tooltip_markup() without any explicit tooltip object.
When you need a tooltip with a little more fancy contents, like adding an image, or you want the tooltip to have different contents per Gtk::TreeView row or cell, you will have to do a little more work: