1Gtk2::IconTheme(3)    User Contributed Perl Documentation   Gtk2::IconTheme(3)
2
3
4

NAME

6       Gtk2::IconTheme
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::IconTheme
11

METHODS

13       icontheme = Gtk2::IconTheme->new
14
15       Gtk2::IconTheme->add_builtin_icon ($icon_name, $size, $pixbuf)
16
17           * $icon_name (string)
18           * $size (integer)
19           * $pixbuf (Gtk2::Gdk::Pixbuf)
20
21       $icon_theme->append_search_path ($path)
22
23           * $path (localized file name)
24
25       $icon_theme->set_custom_theme ($theme_name)
26
27           * $theme_name (string)
28
29       icontheme = Gtk2::IconTheme->get_default
30
31       string = $icon_theme->get_example_icon_name
32
33       icontheme = Gtk2::IconTheme->get_for_screen ($screen)
34
35           * $screen (Gtk2::Gdk::Screen)
36
37       boolean = $icon_theme->has_icon ($icon_name)
38
39           * $icon_name (string)
40
41       list = $icon_theme->get_icon_sizes ($icon_name)
42
43           * $icon_name (string)
44
45       list = $icon_theme->list_icons ($context)
46
47           * $context (string or undef)
48
49       pixbuf or undef = $icon_theme->load_icon ($icon_name, $size, $flags)
50
51           * $icon_name (string)
52           * $size (integer)
53           * $flags (Gtk2::IconLookupFlags)
54
55           May croak with a Glib::Error in $@ on failure.
56
57       iconinfo or undef = $icon_theme->lookup_icon ($icon_name, $size,
58       $flags)
59
60           * $icon_name (string)
61           * $size (integer)
62           * $flags (Gtk2::IconLookupFlags)
63
64       $icon_theme->prepend_search_path ($path)
65
66           * $path (localized file name)
67
68       boolean = $icon_theme->rescan_if_needed
69
70       $icon_theme->set_screen ($screen)
71
72           * $screen (Gtk2::Gdk::Screen)
73
74       list = $icon_theme->get_search_path
75
76       $icon_theme->set_search_path (...)
77
78           * ... (list)
79

SIGNALS

81       changed (Gtk2::IconTheme)
82

ENUMS AND FLAGS

84       flags Gtk2::IconLookupFlags
85
86       * 'no-svg' / 'GTK_ICON_LOOKUP_NO_SVG'
87       * 'force-svg' / 'GTK_ICON_LOOKUP_FORCE_SVG'
88       * 'use-builtin' / 'GTK_ICON_LOOKUP_USE_BUILTIN'
89
90       enum Gtk2::IconThemeError
91
92       * 'not-found' / 'GTK_ICON_THEME_NOT_FOUND'
93       * 'failed' / 'GTK_ICON_THEME_FAILED'
94

SEE ALSO

96       Gtk2, Glib::Object
97
99       Copyright (C) 2003-2007 by the gtk2-perl team.
100
101       This software is licensed under the LGPL.  See Gtk2 for a full notice.
102
103
104
105perl v5.8.8                       2007-03-18                Gtk2::IconTheme(3)
Impressum