GObject.Object
Gtk.Tooltip
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkTooltip |
Class : | Tooltip |
Extends: | GObject.Object |
None |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.Tooltip
()
Create a new Gtk.Tooltip
Create a new Gtk.Tooltip
|
||
Gtk.Tooltip.trigger_tooltip_query
(Display display)
:
none
Triggers a new tooltip query on display, in order to update the current
visible tooltip, or to show/hide the current tooltip.
Triggers a new tooltip query on display, in order to update the current
visible tooltip, or to show/hide the current tooltip. This function is useful to call when, for example, the state of the widget changed by a key press.
|
Gtk.Tooltip | |
set_custom
(Widget custom_widget)
:
none
Replaces the widget packed into the tooltip with
away.
Replaces the widget packed into the tooltip with
away. By default a box with a GtkImage and GtkLabel is embedded in the tooltip, which can be configured using gtk_tooltip_set_markup() and gtk_tooltip_set_icon().
|
Gtk.Tooltip | |
set_icon
(Pixbuf pixbuf)
:
none
Sets the icon of the tooltip (which is in front of the text) to be
Sets the icon of the tooltip (which is in front of the text) to be
|
Gtk.Tooltip | |
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. |
Gtk.Tooltip | |
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. |
Gtk.Tooltip | |
Sets the icon of the tooltip (which is in front of the text) to be
the stock item indicated by stock_id with the size indicated by size. |
Gtk.Tooltip | |
set_markup
(String markup)
:
none
Sets the text of the tooltip to be markup, which is marked up
with the linkend="PangoMarkupFormat">Pango text markup language.
Sets the text of the tooltip to be markup, which is marked up
with the linkend="PangoMarkupFormat">Pango text markup language. If markup is NULL, the label will be hidden.
|
Gtk.Tooltip | |
set_text
(String text)
:
none
Sets the text of the tooltip to be text.
Sets the text of the tooltip to be text. If text is NULL, the label
will be hidden. See also gtk_tooltip_set_markup().
|
Gtk.Tooltip | |
set_tip_area
(RectangleInt rect)
:
none
Sets the area of the widget, where the contents of this tooltip apply,
to be rect (in widget coordinates).
Sets the area of the widget, where the contents of this tooltip apply,
to be rect (in widget coordinates). This is especially useful for properly setting tooltips on GtkTreeView rows and cells, GtkIconViews, etc. For setting tooltips on GtkTreeView, please refer to the convenience gtk_tree_view_set_tooltip_cell().
|
Gtk.Tooltip |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.IconView
Method |
Sets the tip area of tooltip to the area which cell occupies in
the item pointed to by path. |
Gtk.IconView
Method |
Sets the tip area of tooltip to be the area covered by the item at path.
|
Gtk.StatusIcon
Signal |
query_tooltip
(StatusIcon self, gint32 x, gint32 y, gboolean keyboard_mode, Tooltip tooltip)
:
gboolean
Emitted when the GtkSettings:gtk-tooltip-timeout has expired with the
cursor hovering above status_icon; or emitted when status_icon got focus in keyboard mode. |
Gtk.TreeView
Method |
Sets the tip area of tooltip to the area path, column and cell have
in common. |
Gtk.TreeView
Method |
Sets the tip area of tooltip to be the area covered by the row at path.
|
Gtk.Widget
Signal |
Emitted when GtkWidget:has-tooltip is TRUE and the GtkSettings:gtk-tooltip-timeout
has expired with the cursor hovering "above" widget; or emitted when widget got focus in keyboard mode. |
GtkSource.GutterRenderer
Method |
|