add state in gtk
add NullFunction