Gtk2::Tooltips(3) User Contributed Perl Documentation Gtk2::Tooltips(3)

Gtk2::Tooltips - wrapper for GtkTooltips

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

$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->set_tip ($widget, $tip_text, $tip_private=undef)

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

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object

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

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

2023-07-25 perl v5.38.0