How skinning works?

Please explain me the logic of skins. How to change the skin of entire application? How it interacts with path to icons for each widget and with dhtmlx.image_path ? Should I copy images in one folder or set path for each widget like

mytree.setIconsPath('./codebase/imgs/dhxtree_skyblue/');
mygrid.setIconsPath('./codebase/imgs/dhxgrid_skyblue/');

Hi

  1. include corresoinding css
  2. dhx4.skin = “skyblue” (optional, autodetect can work)
  3. all related images located in codebase/imgs/*_skyblue/ folders
  4. dhtmlx.image_path no longer used
  5. grid and trees’
    mytree.setIconsPath(’./codebase/imgs/dhxtree_skyblue/’);
    mygrid.setIconsPath(’./codebase/imgs/dhxgrid_skyblue/’);
    unfortenately some images cnat be set via css, so you also need to specify path to system (component’s) icons via script