GDK Reference Manualstruct GdkEventNoExpose
Generated when the area of a GdkDrawable being copied, with gdk_draw_pixmap() or gdk_window_copy_area(), was completely available. FIXME: add more here. GdkEventType type the type of the event (GDK_NO_EXPOSE). GdkWindow *window the window which received the event. gint8 send_event TRUE if the event was sent explicitly (e.g. using XSendEvent). enum GdkVisibilityState
Specifies the visiblity status of a window for a GdkEventVisibility. GDK_VISIBILITY_UNOBSCURED the window is completely visible. GDK_VISIBILITY_PARTIAL the window is partially visible. GDK_VISIBILITY_FULLY_OBSCURED the window is not visible at all. enum GdkCrossingMode
enum GdkNotifyType
enum GdkPropertyState
Specifies the type of a property change for a GdkEventProperty. GDK_PROPERTY_NEW_VALUE the property value wan changed. GDK_PROPERTY_DELETE the property was deleted. Selections Name Selections -- functions for transfering data via the X selection mechanism. Synopsis
Description The X selection mechanism provides a way to transfer arbitrary chunks of data between programs. A selection is a essentially a named clipboard, identified by a string interned as a GdkAtom. By claiming ownership of a selection, an application indicates that it will be responsible for supplying its contents. The most common selections are PRIMARY and CLIPBOARD. The contents of a selection can be represented in a number of formats, called targets. Each target is identified by an atom. A list of all possible targets supported by the selection owner can be retrieved by requesting the special target TARGETS. When a selection is retrieved, the data is accompanied by a type (an atom), and a format (an integer, representing the number of bits per item). See Properties and Atoms for more information. The functions in this section only contain the lowlevel parts of the selection protocol. A considerably more complicated implementation is needed on top of this. GTK+ contains such an implementation in the functions in gtkselection.h and programmers should use those functions instead of the ones presented here. If you plan to implement selection handling directly on top of the functions here, you should refer to the X Inter-client Communication Conventions Manual (ICCCM). Details enum GdkSelection
The GdkSelection enumeration contains predefined atom values for several common selections. GDK_SELECTION_PRIMARY The primary X selection. Programs typically claim this selection when the user selects text and paste its contents in response to a middle button press. 上一篇:GTK v1.2 Tutorial(英文) 下一篇:Java入门(12) 事件与错误处理 更多相关文章
|
推荐文章
精彩文章
|