Gtk2::Tooltip(3) User Contributed Perl Documentation Gtk2::Tooltip(3)NAME
Gtk2::Tooltip
HIERARCHY
Glib::Object
+----Gtk2::Tooltip
METHODS
$tooltip->set_custom ($custom_widget)
o $custom_widget (Gtk2::Widget or undef)
$tooltip->set_icon_from_icon_name ($icon_name, $size)
o $icon_name (string)
o $size (Gtk2::IconSize)
Since: gtk+ 2.14
$tooltip->set_icon_from_stock ($stock_id, $size)
o $stock_id (string or undef)
o $size (Gtk2::IconSize)
$tooltip->set_icon ($pixbuf)
o $pixbuf (Gtk2::Gdk::Pixbuf or undef)
$tooltip->set_markup ($markup)
o $markup (string or undef)
$tooltip->set_text ($text)
o $text (string or undef)
$tooltip->set_tip_area ($rect)
o $rect (Gtk2::Gdk::Rectangle or undef)
Gtk2::Tooltip::trigger_tooltip_query ($display)
o $display (Gtk2::Gdk::Display)
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Tooltip(3)
Check Out this Related Man Page
Gtk2::IconSet(3pm) User Contributed Perl Documentation Gtk2::IconSet(3pm)NAME
Gtk2::IconSet - wrapper for GtkIconSet
HIERARCHY
Glib::Boxed
+----Gtk2::IconSet
METHODS
iconset = Gtk2::IconSet->new
iconset = Gtk2::IconSet->new_from_pixbuf ($pixbuf)
o $pixbuf (Gtk2::Gdk::Pixbuf)
$icon_set->add_source ($source)
o $source (Gtk2::IconSource)
pixbuf = $icon_set->render_icon ($style, $direction, $state, $size, $widget, $detail=undef)
o $style (Gtk2::Style or undef)
o $direction (Gtk2::TextDirection)
o $state (Gtk2::StateType)
o $size (Gtk2::IconSize)
o $widget (Gtk2::Widget or undef)
o $detail (string)
list = $icon_set->get_sizes
Returns a list of Gtk2::IconSize's.
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::StateType
o 'normal' / 'GTK_STATE_NORMAL'
o 'active' / 'GTK_STATE_ACTIVE'
o 'prelight' / 'GTK_STATE_PRELIGHT'
o 'selected' / 'GTK_STATE_SELECTED'
o 'insensitive' / 'GTK_STATE_INSENSITIVE'
enum Gtk2::TextDirection
o 'none' / 'GTK_TEXT_DIR_NONE'
o 'ltr' / 'GTK_TEXT_DIR_LTR'
o 'rtl' / 'GTK_TEXT_DIR_RTL'
SEE ALSO
Gtk2, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::IconSet(3pm)
Just wondering if someone has some advice on dynamic tooltip. By that I mean, I want the text inside the tooltip to be automagically generated from a text file.
I have not included any code example because, there are tons of tooltip examples but I can't find one that will use a text file to... (1 Reply)
I want to use the tooltip in html, however the tranparency is creating problem for detailed tooltips as the text from the back interferes with the readability of the tooltip text.
I have done the following changes, however the normal tooltip es still transparent
I call it using
<a... (3 Replies)