Gtk2::Tooltips(3) wrapper for GtkTooltips

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Tooltips

METHODS

tooltips = Gtk2::Tooltips->new

hash_ref = $tooltips->data_get ($widget)

  • $widget (Gtk2::Widget)

Returns a hash reference with the keys: tooptips, widget, tip_text, and tip_private.

tooltips is the GtkTooltips group that this tooltip belongs to. widget is the GtkWidget that this tooltip data is associated with. tip_text is a string containing the tooltip message itself.

tip_private is a string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application.

$tooltips->disable

$tooltips->enable

$tooltips->force_window

$tooltips->set_tip ($widget, $tip_text, $tip_private=undef)

  • $widget (Gtk2::Widget)
  • $tip_text (string)
  • $tip_private (scalar)

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.