gdk.Input.Input Class Reference

List of all members.

Detailed Description

Description The functions in this section are used to establish callbacks when some condition becomes true for a file descriptor.

They are currently just wrappers around the IO Channel facility.


Static Public Member Functions

static int addFull (int source, GdkInputCondition condition, GdkInputFunction funct, void *data, GdkDestroyNotify destroy)
 Warning gdk_input_add_full is deprecated and should not be used in newly-written code.
static int add (int source, GdkInputCondition condition, GdkInputFunction funct, void *data)
 Warning gdk_input_add is deprecated and should not be used in newly-written code.
static void remove (int tag)
 Warning gdk_input_remove is deprecated and should not be used in newly-written code.


Member Function Documentation

static int gdk.Input.Input.add ( int  source,
GdkInputCondition  condition,
GdkInputFunction  funct,
void *  data 
) [static]

Warning gdk_input_add is deprecated and should not be used in newly-written code.

Establish a callback when a condition becomes true on a file descriptor. source: a file descriptor. condition: the condition. function: the callback function. data: callback data passed to function. Returns: a tag that can later be used as an argument to gdk_input_remove().

static int gdk.Input.Input.addFull ( int  source,
GdkInputCondition  condition,
GdkInputFunction  funct,
void *  data,
GdkDestroyNotify  destroy 
) [static]

Warning gdk_input_add_full is deprecated and should not be used in newly-written code.

Establish a callback when a condition becomes true on a file descriptor. source: a file descriptor. condition: the condition. function: the callback function. data: callback data passed to function. destroy: callback function to call with data when the input handler is removed. Returns: a tag that can later be used as an argument to gdk_input_remove().

static void gdk.Input.Input.remove ( int  tag  )  [static]

Warning gdk_input_remove is deprecated and should not be used in newly-written code.

Remove a callback added with gdk_input_add() or gdk_input_add_full(). tag: the tag returned when the callback was set up. See Also GLib Main Loop The main loop in which input callbacks run. IO Channels A newer and more flexible way of doing IO callbacks.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo