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

Gtk2::Tooltip - wrapper for GtkTooltip

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

$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)

$display (Gtk2::Gdk::Display)

  • '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'

Gtk2, Glib::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