input_callback functions must return gboolean