ruby-****@sourc*****
ruby-****@sourc*****
2009年 1月 18日 (日) 11:07:56 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-contwidg-eventbox ------------------------- @@ -76,27 +76,27 @@ :GdkEventMask -A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the GdkEventType event types above. Gdk::Event::POINTER_MOTION_HINT_MASK is a special mask which is used to reduce the number of Gdk::Event::MOTION_NOTIFY events received. Normally a Gdk::Event::MOTION_NOTIFY event is received each time the mouse moves. However, if the application spends a lot of time processing the event (updating the display, for example), it can easily lag behind the position of the mouse. When using the Gdk::Event::POINTER_MOTION_HINT_MASK the server will only send a single Gdk::Event::MOTION_NOTIFY event (which is marked as a hint) until the application asks for more, by calling Gdk::Window#pointer. + A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the GdkEventType event types above. Gdk::Event::POINTER_MOTION_HINT_MASK is a special mask which is used to reduce the number of Gdk::Event::MOTION_NOTIFY events received. Normally a Gdk::Event::MOTION_NOTIFY event is received each time the mouse moves. However, if the application spends a lot of time processing the event (updating the display, for example), it can easily lag behind the position of the mouse. When using the Gdk::Event::POINTER_MOTION_HINT_MASK the server will only send a single Gdk::Event::MOTION_NOTIFY event (which is marked as a hint) until the application asks for more, by calling Gdk::Window#pointer. -* EXPOSURE_MASK -* POINTER_MOTION_MASK -* POINTER_MOTION_HINT_MASK -* BUTTON_MOTION_MASK -* BUTTON1_MOTION_MASK -* BUTTON2_MOTION_MASK -* BUTTON3_MOTION_MASK -* BUTTON_PRESS_MASK -* BUTTON_RELEASE_MASK -* KEY_PRESS_MASK -* KEY_RELEASE_MASK -* ENTER_NOTIFY_MASK -* LEAVE_NOTIFY_MASK -* FOCUS_CHANGE_MASK -* STRUCTURE_MASK -* PROPERTY_CHANGE_MASK -* VISIBILITY_NOTIFY_MASK -* PROXIMITY_IN_MASK -* PROXIMITY_OUT_MASK -* SUBSTRUCTURE_MASK -* SCROLL_MASK -* ALL_EVENTS_MASK - the combination of all the above event masks. + * EXPOSURE_MASK + * POINTER_MOTION_MASK + * POINTER_MOTION_HINT_MASK + * BUTTON_MOTION_MASK + * BUTTON1_MOTION_MASK + * BUTTON2_MOTION_MASK + * BUTTON3_MOTION_MASK + * BUTTON_PRESS_MASK + * BUTTON_RELEASE_MASK + * KEY_PRESS_MASK + * KEY_RELEASE_MASK + * ENTER_NOTIFY_MASK + * LEAVE_NOTIFY_MASK + * FOCUS_CHANGE_MASK + * STRUCTURE_MASK + * PROPERTY_CHANGE_MASK + * VISIBILITY_NOTIFY_MASK + * PROXIMITY_IN_MASK + * PROXIMITY_OUT_MASK + * SUBSTRUCTURE_MASK + * SCROLL_MASK + * ALL_EVENTS_MASK - the combination of all the above event masks.