Gtk2-Perl

Description A set of Perl bindings for Gtk+ 2.0 and various related libraries
Gtk2-Perl > Perl Manuals > Gtk2-Tooltips
Source

Index


NAME ^

Gtk2::Tooltips

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)

SEE ALSO ^

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

COPYRIGHT ^

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

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