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

NAME

6       Gtk2::Tooltips - wrapper for GtkTooltips
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Tooltips
13

METHODS

15   tooltips = Gtk2::Tooltips->new
16   hash_ref = $tooltips->data_get ($widget)
17       •   $widget (Gtk2::Widget)
18
19       Returns a hash reference with the keys: tooptips, widget, tip_text, and
20       tip_private.
21
22       tooltips is the GtkTooltips group that this tooltip belongs to. widget
23       is the GtkWidget that this tooltip data is associated with. tip_text is
24       a string containing the tooltip message itself.
25
26       tip_private is a string that is not shown as the default tooltip.
27       Instead, this message may be more informative and go towards forming a
28       context-sensitive help system for your application.
29
30   $tooltips->disable
31   $tooltips->enable
32   $tooltips->force_window
33   $tooltips->set_tip ($widget, $tip_text, $tip_private=undef)
34       •   $widget (Gtk2::Widget)
35
36       •   $tip_text (string)
37
38       •   $tip_private (scalar)
39

SEE ALSO

41       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
42
44       Copyright (C) 2003-2011 by the gtk2-perl team.
45
46       This software is licensed under the LGPL.  See Gtk2 for a full notice.
47
48
49
50perl v5.32.1                      2021-01-27                 Gtk2::Tooltips(3)
Impressum