Module: menubar.icon_theme

(Deprecated) class module for icon lookup for menubar

Info:

  • Copyright: 2015 Kazunobu Kuriyama
  • Originally authored by: Kazunobu Kuriyama
    (Full contributors list available on our github project)

Deprecated functions

menubar.icon_theme.new [deprecated] Class constructor of icon_theme
menubar.icon_theme:find_icon_path [deprecated] Look up an image file based on a given icon name and/or a preferable size.


Deprecated functions

menubar.icon_theme.new [deprecated]
Class constructor of icon_theme

Parameters:

  • icon_theme_name string Internal name of icon theme
  • base_directories table Paths used for lookup

Returns:

    table An instance of the class icon_theme
menubar.icon_theme:find_icon_path [deprecated]
Look up an image file based on a given icon name and/or a preferable size.

Parameters:

  • icon_name string Icon name to be looked up
  • icon_size number Prefereable icon size

Returns:

    string Absolute path to the icon file, or nil if not found
generated by LDoc 1.4.6 Last updated 2021-11-13 00:35:50