Input.add

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.

class Input
static
int
add

Parameters

source int

a file descriptor.

condition GdkInputCondition

the condition.

data void*

callback data passed to function.

Return Value

Type: int

a tag that can later be used as an argument to gdk_input_remove().

Meta