def themed_checkbox_editor ( style = None, show_checkbox = True, **traits ):
    tce = ThemedCheckboxEditor( **traits )

    if not show_checkbox:
        tce.set( image           = None,
                 on_image        = None,
                 hover_off_image = None,
                 hover_on_image  = None )

    if isinstance( style, basestring ):
        group = style[0:1].upper()
        if (len( group ) == 0) or (group not in 'BCGJTY'):
            group = 'B'

        row      = style[1:2].upper()
        all_rows = '0123456789ABCDEFGHIJKL'
        if (len( row ) == 0) or (row not in all_rows):
            row = 'H'

        column      = style[2:3].upper()
        all_columns = '12345789AB'
        if (len( column ) == 0) or (column not in all_columns):
            column = '5'

        tce.theme = '@%s%s%s' % ( group, row, column )

        if style[-1:] == '.':
            return tce

        alt_row    = '44456349A78FFFGHEFKLIJ'[ all_rows.index( row ) ]
        alt_column = '66666CCCCC'[ all_columns.index( column ) ]

        tce.set( on_theme        = '@%s%s%s' % ( group, alt_row, column ),
                 hover_on_theme  = '@%s%s%s' % ( group, alt_row, alt_column ),
                 hover_off_theme = '@%s%s%s' % ( group, row, alt_column ) )

    return tce
Simplifies creation of a ThemedCheckboxEditor by setting up the
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/themed_checkbox_editor.py/themed_checkbox_editor