1Gtk2::Tooltip(3)      User Contributed Perl Documentation     Gtk2::Tooltip(3)
2
3
4

NAME

6       Gtk2::Tooltip - wrapper for GtkTooltip
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::Tooltip
11

METHODS

13   $tooltip->set_custom ($custom_widget)
14       ·   $custom_widget (Gtk2::Widget or undef)
15
16   $tooltip->set_icon_from_icon_name ($icon_name, $size)
17       ·   $icon_name (string)
18
19       ·   $size (Gtk2::IconSize)
20
21       Since: gtk+ 2.14
22
23   $tooltip->set_icon_from_stock ($stock_id, $size)
24       ·   $stock_id (string or undef)
25
26       ·   $size (Gtk2::IconSize)
27
28   $tooltip->set_icon ($pixbuf)
29       ·   $pixbuf (Gtk2::Gdk::Pixbuf or undef)
30
31   $tooltip->set_markup ($markup)
32       ·   $markup (string or undef)
33
34   $tooltip->set_text ($text)
35       ·   $text (string or undef)
36
37   $tooltip->set_tip_area ($rect)
38       ·   $rect (Gtk2::Gdk::Rectangle or undef)
39
40   Gtk2::Tooltip::trigger_tooltip_query ($display)
41       ·   $display (Gtk2::Gdk::Display)
42

ENUMS AND FLAGS

44   enum Gtk2::IconSize
45       ·   'invalid' / 'GTK_ICON_SIZE_INVALID'
46
47       ·   'menu' / 'GTK_ICON_SIZE_MENU'
48
49       ·   'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
50
51       ·   'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
52
53       ·   'button' / 'GTK_ICON_SIZE_BUTTON'
54
55       ·   'dnd' / 'GTK_ICON_SIZE_DND'
56
57       ·   'dialog' / 'GTK_ICON_SIZE_DIALOG'
58

SEE ALSO

60       Gtk2, Glib::Object
61
63       Copyright (C) 2003-2011 by the gtk2-perl team.
64
65       This software is licensed under the LGPL.  See Gtk2 for a full notice.
66
67
68
69perl v5.28.1                      2019-02-02                  Gtk2::Tooltip(3)
Impressum