def ticks_event(win, plot, figure, minor, inout, tmsize, tmisize, tmwidth,
    tmiwidth, tc_combo, ltc_combo, ls_box, conf):
    """
    This function change the ticks parameters of the plot.
    Parameters:
    -----------
    win         FigureCanvas, obj
    plot        subplot, obj
    figure      Figure, obj
    minor       QCheckBox   widget
    inout       ''          ''
    tmsize
    tmisize
    tmwidth,
    tmiwidth
    tc_combo
    ltc_combo
    ls_box
    """
    if minor.isChecked():
        plot.minorticks_on()
        plot.tick_params(axis='both', which='both', top='on', bottom='on',
            left='on', right='on')
    else:
        plot.minorticks_off()
        plot.tick_params(axis='both', which='major', top='off', right='off')
    if inout.isChecked():
        plot.tick_params(which='both', axis='both', direction='in')
    else:
        plot.tick_params(which='both', axis='both', direction='out')
    ls = ls_box.value()
    plot.tick_params(axis='both', which='major', labelsize=ls)
    plot.tick_params(axis='both', which='minor', labelsize=ls)
    tc = tc_combo.currentText()
    ltc = ltc_combo.currentText()
    plot.tick_params(which='both', color=tc, labelcolor=ltc)
    tmsi = tmsize.value()
    tmisi = tmisize.value()
    tmw = tmwidth.value()
    tmiw = tmiwidth.value()
    if minor.isChecked():
        conf['Minor'] = 'on'
    else:
        conf['Minor'] = 'off'
    if inout.isChecked():
        conf['placement'] = 'in'
    else:
        conf['placement'] = 'out'
    conf['Major_size'] = tmsi
    conf['Major_width'] = tmw
    conf['Minor_size'] = tmisi
    conf['Minor_width'] = tmiw
    conf['Ticks_color'] = tc
    conf['Label_color'] = ltc
    conf['Label_size'] = ls
    plot.tick_params(axis='both', which='major', width=tmw, size=tmsi)
    plot.tick_params(axis='both', which='minor', width=tmiw, size=tmisi)
    figure.tight_layout()
    win.draw()
