Warning gdk_input_add has been deprecated since version 2.14 and should not be used in newly-written code. Use g_io_add_watch() on a GIOChannel Establish a callback when a condition becomes true on a file descriptor.
a file descriptor.
the condition.
callback data passed to function.
a tag that can later be used as an argument to gdk_input_remove().
See Implementation
Warning gdk_input_add has been deprecated since version 2.14 and should not be used in newly-written code. Use g_io_add_watch() on a GIOChannel Establish a callback when a condition becomes true on a file descriptor.