#NEWLINE# def icon( * names , **kwargs ) : #NEWLINE# #INDENT# "\n    Return a QIcon object corresponding to the provided icon name(s).\n\n    This function is the main interface of qtawesome. \n\n    It can be used to create a QIcon instance from a single glyph \n    or from a list of glyphs that are displayed on the top of each other.\n    Such icon stacks are generally used to combine multiple glyphs to make\n    more complex icons.\n\n    Glyph names are specified by strings, of the form ``prefix.name``.\n    The ``prefix`` corresponds to the font to be used and ``name`` is the\n    name of the icon.\n\n     - The prefix corresponding to Font-Awesome is 'fa'\n     - The prefix corresponding to Elusive-Icons is 'ei'\n\n    When requesting a single glyph, options (such as color or positional offsets)\n    can be passed as keyword arguments::\n\n        import qtawesome as qta\n\n        music_icon = qta.icon('fa.music', color='blue', color_active='orange')\n\n    When requesting multiple glyphs, the `options` keyword argument contains the\n    list of option dictionaries to be used for each glyph::\n\n        camera_ban = qta.icon('fa.camera', 'fa.ban', options=[{\n                'scale_factor': 0.5,\n                'active': 'fa.legal'\n            }, {\n                'color': 'red',\n                'opacity': 0.7\n            }])\n\n    Qt's ``QIcon`` object has four modes\n\n        - ``Normal``: The user is not interacting with the icon, but the\n          functionality represented by the icon is available.\n        - ``Disabled``: The functionality corresponding to the icon is not\n          available.\n        - ``Active``: The functionality corresponding to the icon is available.\n          The user is interacting with the icon, for example, moving the mouse\n          over it or clicking it.\n        - ``Selected``: The item represented by the icon is selected.\n \n    The glyph for the Normal mode is the one specified with the main positional\n    argument.\n\n     - ``color``: icon color in the ``Normal`` mode.\n\n    The following four options will apply to the icon regardless of the mode.\n\n     - ``offset``: tuple (x, y) corresponding to the horizontal and vertical\n       offsets for the glyph, specified as a proportion of the icon size.\n     - ``animation``: animation object for the icon.\n     - ``scale_factor``: multiplicative scale factor to be used for the glyph. \n\n    The following options apply to the different modes of the icon\n\n     - ``active``: name of the glyph to be used when the icon is ``Active``.\n     - ``color_active``: the corresponding icon color.\n\n     - ``disabled``: name of the glyph to be used when the icon is ``Disabled``.\n     - ``color_disabled``: the corresponding icon color.\n\n     - ``selected``: name of the glyph to be used when the icon is ``Selected``.\n     - ``color_selected``: the corresponding icon color.\n\n    Default values for these options can be specified via the function\n    ``set_defaults``. If unspecified, the default defaults are::\n\n        {\n            'opacity': 1.0,\n            'scale_factor': 1.0\n            'color': QColor(50, 50, 50),\n            'color_disabled': QColor(150, 150, 150),\n        }\n\n    If no default value is provided for ``active``, ``disabled`` or ``selected``\n    the glyph specified for the ``Normal`` mode will be used.\n\n    " #NEWLINE# return _instance ( ) . icon ( * kwargs , ** kwargs )