1Gtk2::IconInfo(3) User Contributed Perl Documentation Gtk2::IconInfo(3)
2
3
4
6 Gtk2::IconInfo - wrapper for GtkIconInfo
7
9 Glib::Boxed
10 +----Gtk2::IconInfo
11
13 iconinfo = Gtk2::IconInfo->new_for_pixbuf ($icon_theme, $pixbuf)
14 · $icon_theme (Gtk2::IconTheme)
15
16 · $pixbuf (Gtk2::Gdk::Pixbuf)
17
18 Since: gtk+ 2.14
19
20 list = $icon_info->get_attach_points
21 Returns the attach points as an interleaved list of x and y
22 coordinates.
23
24 integer = $icon_info->get_base_size
25 pixbuf or undef = $icon_info->get_builtin_pixbuf
26 string or undef = $icon_info->get_display_name
27 rectangle = $icon_info->get_embedded_rect
28 string or undef = $icon_info->get_filename
29 pixbuf or undef = $icon_info->load_icon
30 May croak with a Glib::Error in $@ on failure.
31
32 $icon_info->set_raw_coordinates ($raw_coordinates)
33 · $raw_coordinates (boolean)
34
36 Gtk2, Glib::Boxed
37
39 Copyright (C) 2003-2011 by the gtk2-perl team.
40
41 This software is licensed under the LGPL. See Gtk2 for a full notice.
42
43
44
45perl v5.32.0 2020-07-28 Gtk2::IconInfo(3)