def get_tab_subheader(self, element_name, title, class_name=None, kwargs=None, is_selected=False, is_loaded=False, is_template=False, config=None):
    subheader_div = DivWdg()
    subheader_div.add_class('spt_tab_subheader')
    subheader_div.add_style('width: 200px')
    subheader_div.add_style('height: auto')
    subheader_div.add_border()
    subheader_div.add_style('position: absolute')
    subheader_div.add_style('left: 5px')
    subheader_div.add_color('background', 'background')
    subheader_div.add_style('top: 28px')
    subheader_div.add_style('padding: 10px 5px')
    element_names = []
    for element_name in element_names:
        attrs = config.get_element_attributes(element_name)
        title = attrs.get('title')
        if (not title):
            title = Common.get_display_title(element_name)
        subheader = DivWdg()
        subheader.add_style('position: relative')
        subheader.add_attr('spt_element_name', element_name)
        subheader.add_class('spt_tab_subheader_item')
        icon = IconWdg('Remove Tab', 'FA_TIMES', opacity=0.3)
        subheader.add(icon)
        icon.add_class('spt_icon_inactive')
        icon.add_styles('position: absolute; right: 0; top: 3px;')
        subheader_div.add(subheader)
        subheader.add_style('padding: 5px')
        subheader.add(title)
        display_class = config.get_display_handler(element_name)
        display_options = config.get_display_options(element_name)
        '\n            subheader.add_behavior( {\n                \'type\': \'click\',\n                \'title\': title,\n                \'display_class\': display_class,\n                \'display_options\': display_options,\n                \'cbjs_action\': \'\'\'\n                spt.panel.load_popup(bvr.title, bvr.display_class, bvr.display_options);\n                \'\'\'\n            } )\n            subheader.add_behavior( {\n                \'type\': \'mouseenter\',\n                \'cbjs_action\': \'\'\'\n                bvr.src_el.setStyle("background", "#DDD");\n                \'\'\'\n            } )\n            subheader.add_behavior( {\n                \'type\': \'mouseleave\',\n                \'cbjs_action\': \'\'\'\n                bvr.src_el.setStyle("background", "");\n                \'\'\'\n            } )\n            '
    return subheader_div
def get_tab_subheader(self, element_name, title, class_name=None, kwargs=None, is_selected=False, is_loaded=False, is_template=False, config=None):
    subheader_div = DivWdg()
    subheader_div.add_class('spt_tab_subheader')
    subheader_div.add_style('width: 200px')
    subheader_div.add_style('height: auto')
    subheader_div.add_border()
    subheader_div.add_style('position: absolute')
    subheader_div.add_style('left: 5px')
    subheader_div.add_color('background', 'background')
    subheader_div.add_style('top: 28px')
    subheader_div.add_style('padding: 10px 5px')
    element_names = []
    for element_name in element_names:
        attrs = config.get_element_attributes(element_name)
        title = attrs.get('title')
        if (not title):
            title = Common.get_display_title(element_name)
        subheader = DivWdg()
        subheader.add_style('position: relative')
        subheader.add_attr('spt_element_name', element_name)
        subheader.add_class('spt_tab_subheader_item')
        icon = IconWdg('Remove Tab', 'FA_TIMES', opacity=0.3)
        subheader.add(icon)
        icon.add_class('spt_icon_inactive')
        icon.add_styles('position: absolute; right: 0; top: 3px;')
        subheader_div.add(subheader)
        subheader.add_style('padding: 5px')
        subheader.add(title)
        display_class = config.get_display_handler(element_name)
        display_options = config.get_display_options(element_name)
        '\n            subheader.add_behavior( {\n                \'type\': \'click\',\n                \'title\': title,\n                \'display_class\': display_class,\n                \'display_options\': display_options,\n                \'cbjs_action\': \'\'\'\n                spt.panel.load_popup(bvr.title, bvr.display_class, bvr.display_options);\n                \'\'\'\n            } )\n            subheader.add_behavior( {\n                \'type\': \'mouseenter\',\n                \'cbjs_action\': \'\'\'\n                bvr.src_el.setStyle("background", "#DDD");\n                \'\'\'\n            } )\n            subheader.add_behavior( {\n                \'type\': \'mouseleave\',\n                \'cbjs_action\': \'\'\'\n                bvr.src_el.setStyle("background", );\n                \'\'\'\n            } )\n            '
    return subheader_div