[ruby-gnome2-doc-cvs] [Hiki] create - Gdk::Input

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2004年 5月 27日 (木) 18:50:32 JST


-------------------------
REMOTE_ADDR = 128.88.255.106
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp//?Gdk%3A%3AInput
-------------------------
= module Gdk::Input
The functions in this section are used to establish callbacks when some condition becomes true for a file descriptor.

== Module Functions
--- Gdk::Input.add(source, condition) {|condition| ... }
    Establish a callback when a condition becomes true on a file descriptor. 
    ((* Gdk::Input.add is deprecated and should not be used in newly-written code. *))
    * source: a file descriptor.  
    * condition: the condition.  
    * Returns: a tag that can later be used as an argument to Gdk::Input.remove.  

--- Gdk::Input.remove(tag)
    Remove a callback added with gdk_input_add() or gdk_input_add_full(). 
    ((* Gdk::Input.remove is deprecated and should not be used in newly-written code. *))
    * tag: the tag returned when the callback was set up.  
    * Returns: tag

== Constants
=== GdkInputCondition
    A set of bit flags used to specify conditions for which an input callback will be triggered. The three members of this enumeration correspond to the readfds, writefds, and exceptfds arguments to the select system call. 
--- READ
    The file descriptor has become available for reading. (Or, as is standard in Unix, a socket or pipe was closed at the other end; this is the case if a subsequent read on the file descriptor returns a count of zero.)
--- WRITE
    The file descriptor has become available for writing.
--- EXCEPTION
    An exception was raised on the file descriptor.


* 2004-05-27 Initial upload - ((<Masao>))






ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index