home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2 / IconTheme.pod < prev    next >
Encoding:
Text File  |  2006-06-19  |  2.8 KB  |  245 lines

  1. =head1 NAME
  2.  
  3. Gnome2::IconTheme
  4.  
  5. =head1 HIERARCHY
  6.  
  7.   Glib::Object
  8.   +----Gnome2::IconTheme
  9.  
  10.  
  11. =head1 METHODS
  12.  
  13. =head2 icontheme = Gnome2::IconTheme-E<gt>B<new> 
  14.  
  15. =over
  16.  
  17. =back
  18.  
  19. =head2 boolean = $theme-E<gt>B<get_allow_svg> 
  20.  
  21. =over
  22.  
  23. =back
  24.  
  25. =head2 $theme-E<gt>B<set_allow_svg> ($allow_svg)
  26.  
  27. =over
  28.  
  29. =over
  30.  
  31. =item * $allow_svg (boolean) 
  32.  
  33. =back
  34.  
  35. =back
  36.  
  37. =head2 $theme-E<gt>B<append_search_path> ($path)
  38.  
  39. =over
  40.  
  41. =over
  42.  
  43. =item * $path (string) 
  44.  
  45. =back
  46.  
  47. =back
  48.  
  49. =head2 $theme-E<gt>B<set_custom_theme> ($theme_name)
  50.  
  51. =over
  52.  
  53. =over
  54.  
  55. =item * $theme_name (string) 
  56.  
  57. =back
  58.  
  59. =back
  60.  
  61. =head2 string = $theme-E<gt>B<get_example_icon_name> 
  62.  
  63. =over
  64.  
  65. =back
  66.  
  67. =head2 boolean = $theme-E<gt>B<has_icon> ($icon_name)
  68.  
  69. =over
  70.  
  71. =over
  72.  
  73. =item * $icon_name (string) 
  74.  
  75. =back
  76.  
  77. =back
  78.  
  79. =head2 list = $theme-E<gt>B<list_icons> ($context=undef)
  80.  
  81. =over
  82.  
  83. =over
  84.  
  85. =item * $context (string) 
  86.  
  87. =back
  88.  
  89.  
  90. Returns a list of icons.
  91.  
  92.  
  93. =back
  94.  
  95. =head2 list = $icon_theme-E<gt>B<lookup> ($thumbnail_factory, $file_uri, $custom_icon, $file_info, $mime_type, $flags)
  96.  
  97. =over
  98.  
  99. =over
  100.  
  101. =item * $thumbnail_factory (Gnome2::ThumbnailFactory or undef) 
  102.  
  103. =item * $file_uri (string) 
  104.  
  105. =item * $custom_icon (scalar) 
  106.  
  107. =item * $file_info (Gnome2::VFS::FileInfo) 
  108.  
  109. =item * $mime_type (string) 
  110.  
  111. =item * $flags (Gnome2::IconLookupFlags) 
  112.  
  113. =back
  114.  
  115.  
  116. Returns the icon name and a GnomeIconLookupFlags.
  117.  
  118.  
  119. =back
  120.  
  121. =head2 list = $theme-E<gt>B<lookup_icon> ($icon_name, $size)
  122.  
  123. =over
  124.  
  125. =over
  126.  
  127. =item * $icon_name (string) 
  128.  
  129. =item * $size (integer) 
  130.  
  131. =back
  132.  
  133.  
  134. Returns the filename, the icon data and the base size.
  135.  
  136.  
  137. =back
  138.  
  139. =head2 list = $icon_theme-E<gt>B<lookup_sync> ($thumbnail_factory, $file_uri, $custom_icon, $flags)
  140.  
  141. =over
  142.  
  143. =over
  144.  
  145. =item * $thumbnail_factory (Gnome2::ThumbnailFactory or undef) 
  146.  
  147. =item * $file_uri (string) 
  148.  
  149. =item * $custom_icon (scalar) 
  150.  
  151. =item * $flags (Gnome2::IconLookupFlags) 
  152.  
  153. =back
  154.  
  155.  
  156. Returns the icon name and a GnomeIconLookupFlags.
  157.  
  158.  
  159. =back
  160.  
  161. =head2 $theme-E<gt>B<prepend_search_path> ($path)
  162.  
  163. =over
  164.  
  165. =over
  166.  
  167. =item * $path (string) 
  168.  
  169. =back
  170.  
  171. =back
  172.  
  173. =head2 boolean = $theme-E<gt>B<rescan_if_needed> 
  174.  
  175. =over
  176.  
  177. =back
  178.  
  179. =head2 list = $theme-E<gt>B<get_search_path> 
  180.  
  181. =over
  182.  
  183.  
  184. Returns a list of paths.
  185.  
  186.  
  187. =back
  188.  
  189. =head2 $theme-E<gt>B<set_search_path> (...)
  190.  
  191. =over
  192.  
  193. =over
  194.  
  195. =item * ... (list) of paths
  196.  
  197. =back
  198.  
  199.  
  200.  
  201.  
  202. =back
  203.  
  204.  
  205. =head1 SIGNALS
  206.  
  207. =over
  208.  
  209. =item B<changed> (Gnome2::IconTheme)
  210.  
  211. =back
  212.  
  213.  
  214. =head1 ENUMS AND FLAGS
  215.  
  216. =head2 flags Gnome2::IconLookupFlags
  217.  
  218. =over
  219.  
  220. =item * 'none' / 'GNOME_ICON_LOOKUP_FLAGS_NONE'
  221.  
  222. =item * 'embedding-text' / 'GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT'
  223.  
  224. =item * 'show-small-images-as-themselves' / 'GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES'
  225.  
  226. =item * 'allow-svg-as-themselves' / 'GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES'
  227.  
  228. =back
  229.  
  230.  
  231.  
  232. =head1 SEE ALSO
  233.  
  234. L<Gnome2>, L<Glib::Object>
  235.  
  236. =head1 COPYRIGHT
  237.  
  238. Copyright (C) 2003-2004 by the gtk2-perl team.
  239.  
  240. This software is licensed under the LGPL.  See L<Gnome2> for a full notice.
  241.  
  242.  
  243. =cut
  244.  
  245.