Gtk2::Tooltip(3p)

NAME
Gtk2::Tooltip - wrapper for GtkTooltip

HIERARCHY
  Glib::Object
  +----Gtk2::Tooltip

METHODS

  $tooltip->set_custom ($custom_widget)

•   $custom_widget (Gtk2::Widget or undef)

  $tooltip->set_icon_from_icon_name ($icon_name, $size)

•   $icon_name (string)

•   $size (Gtk2::IconSize)

Since: gtk+ 2.14

  $tooltip->set_icon_from_stock ($stock_id, $size)

•   $stock_id (string or undef)

•   $size (Gtk2::IconSize)

  $tooltip->set_icon ($pixbuf)

•   $pixbuf (Gtk2::Gdk::Pixbuf or undef)

  $tooltip->set_markup ($markup)

•   $markup (string or undef)

  $tooltip->set_text ($text)

•   $text (string or undef)

  $tooltip->set_tip_area ($rect)

•   $rect (Gtk2::Gdk::Rectangle or undef)

  Gtk2::Tooltip::trigger_tooltip_query ($display)

•   $display (Gtk2::Gdk::Display)

ENUMS AND FLAGS

  enum Gtk2::IconSize

•   'invalid' / 'GTK_ICON_SIZE_INVALID'

•   'menu' / 'GTK_ICON_SIZE_MENU'

•   'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'

•   'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'

•   'button' / 'GTK_ICON_SIZE_BUTTON'

•   'dnd' / 'GTK_ICON_SIZE_DND'

•   'dialog' / 'GTK_ICON_SIZE_DIALOG'

SEE ALSO
Gtk2, Glib::Object

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

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