Main.inputAddFull

Warning gtk_input_add_full has been deprecated since version 2.4 and should not be used in newly-written code. Use g_io_add_watch_full() instead. Registers a function to be called when a condition becomes true on a file descriptor.

Parameters

source int

a file descriptor.

condition GdkInputCondition

the condition.

marshal GtkCallbackMarshal

The marshaller to use instead of the function (if non-NULL).

data void*

callback data passed to function.

destroy GDestroyNotify

callback function to call with data when the input handler is removed, or NULL.

Return Value

Type: uint

A unique id for the event source; to be used with gtk_input_remove().

Meta