📄 xlib.h
字号:
#else KeyCode /* keycode_entry */,#endif int /* modifier */ #endif);extern XModifierKeymap *XNewModifiermap(#if NeedFunctionPrototypes int /* max_keys_per_mod */#endif);extern XImage *XCreateImage(#if NeedFunctionPrototypes Display* /* display */, Visual* /* visual */, unsigned int /* depth */, int /* format */, int /* offset */, char* /* data */, unsigned int /* width */, unsigned int /* height */, int /* bitmap_pad */, int /* bytes_per_line */#endif);extern Status XInitImage(#if NeedFunctionPrototypes XImage* /* image */#endif);extern XImage *XGetImage(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, int /* x */, int /* y */, unsigned int /* width */, unsigned int /* height */, unsigned long /* plane_mask */, int /* format */#endif);extern XImage *XGetSubImage(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, int /* x */, int /* y */, unsigned int /* width */, unsigned int /* height */, unsigned long /* plane_mask */, int /* format */, XImage* /* dest_image */, int /* dest_x */, int /* dest_y */#endif);/* * X function declarations. */extern Display *XOpenDisplay(#if NeedFunctionPrototypes _Xconst char* /* display_name */#endif);extern void XrmInitialize(#if NeedFunctionPrototypes void#endif);extern char *XFetchBytes(#if NeedFunctionPrototypes Display* /* display */, int* /* nbytes_return */#endif);extern char *XFetchBuffer(#if NeedFunctionPrototypes Display* /* display */, int* /* nbytes_return */, int /* buffer */#endif);extern char *XGetAtomName(#if NeedFunctionPrototypes Display* /* display */, Atom /* atom */#endif);extern Status XGetAtomNames(#if NeedFunctionPrototypes Display* /* dpy */, Atom* /* atoms */, int /* count */, char** /* names_return */#endif);extern char *XGetDefault(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* program */, _Xconst char* /* option */ #endif);extern char *XDisplayName(#if NeedFunctionPrototypes _Xconst char* /* string */#endif);extern char *XKeysymToString(#if NeedFunctionPrototypes KeySym /* keysym */#endif);extern int (*XSynchronize(#if NeedFunctionPrototypes Display* /* display */, Bool /* onoff */#endif))(#if NeedNestedPrototypes Display* /* display */#endif);extern int (*XSetAfterFunction(#if NeedFunctionPrototypes Display* /* display */, int (*) (#if NeedNestedPrototypes Display* /* display */#endif ) /* procedure */#endif))(#if NeedNestedPrototypes Display* /* display */#endif);extern Atom XInternAtom(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* atom_name */, Bool /* only_if_exists */ #endif);extern Status XInternAtoms(#if NeedFunctionPrototypes Display* /* dpy */, char** /* names */, int /* count */, Bool /* onlyIfExists */, Atom* /* atoms_return */#endif);extern Colormap XCopyColormapAndFree(#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */#endif);extern Colormap XCreateColormap(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Visual* /* visual */, int /* alloc */ #endif);extern Cursor XCreatePixmapCursor(#if NeedFunctionPrototypes Display* /* display */, Pixmap /* source */, Pixmap /* mask */, XColor* /* foreground_color */, XColor* /* background_color */, unsigned int /* x */, unsigned int /* y */ #endif);extern Cursor XCreateGlyphCursor(#if NeedFunctionPrototypes Display* /* display */, Font /* source_font */, Font /* mask_font */, unsigned int /* source_char */, unsigned int /* mask_char */, XColor* /* foreground_color */, XColor* /* background_color */#endif);extern Cursor XCreateFontCursor(#if NeedFunctionPrototypes Display* /* display */, unsigned int /* shape */#endif);extern Font XLoadFont(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* name */#endif);extern GC XCreateGC(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, unsigned long /* valuemask */, XGCValues* /* values */#endif);extern GContext XGContextFromGC(#if NeedFunctionPrototypes GC /* gc */#endif);extern void XFlushGC(#if NeedFunctionPrototypes Display* /* display */, GC /* gc */#endif);extern Pixmap XCreatePixmap(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, unsigned int /* width */, unsigned int /* height */, unsigned int /* depth */ #endif);extern Pixmap XCreateBitmapFromData(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, _Xconst char* /* data */, unsigned int /* width */, unsigned int /* height */#endif);extern Pixmap XCreatePixmapFromBitmapData(#if NeedFunctionPrototypes Display* /* display */, Drawable /* d */, char* /* data */, unsigned int /* width */, unsigned int /* height */, unsigned long /* fg */, unsigned long /* bg */, unsigned int /* depth */#endif);extern Window XCreateSimpleWindow(#if NeedFunctionPrototypes Display* /* display */, Window /* parent */, int /* x */, int /* y */, unsigned int /* width */, unsigned int /* height */, unsigned int /* border_width */, unsigned long /* border */, unsigned long /* background */#endif);extern Window XGetSelectionOwner(#if NeedFunctionPrototypes Display* /* display */, Atom /* selection */#endif);extern Window XCreateWindow(#if NeedFunctionPrototypes Display* /* display */, Window /* parent */, int /* x */, int /* y */, unsigned int /* width */, unsigned int /* height */, unsigned int /* border_width */, int /* depth */, unsigned int /* class */, Visual* /* visual */, unsigned long /* valuemask */, XSetWindowAttributes* /* attributes */#endif); extern Colormap *XListInstalledColormaps(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int* /* num_return */#endif);extern char **XListFonts(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* pattern */, int /* maxnames */, int* /* actual_count_return */#endif);extern char **XListFontsWithInfo(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* pattern */, int /* maxnames */, int* /* count_return */, XFontStruct** /* info_return */#endif);extern char **XGetFontPath(#if NeedFunctionPrototypes Display* /* display */, int* /* npaths_return */#endif);extern char **XListExtensions(#if NeedFunctionPrototypes Display* /* display */, int* /* nextensions_return */#endif);extern Atom *XListProperties(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int* /* num_prop_return */#endif);extern XHostAddress *XListHosts(#if NeedFunctionPrototypes Display* /* display */, int* /* nhosts_return */, Bool* /* state_return */#endif);extern KeySym XKeycodeToKeysym(#if NeedFunctionPrototypes Display* /* display */,#if NeedWidePrototypes unsigned int /* keycode */,#else KeyCode /* keycode */,#endif int /* index */#endif);extern KeySym XLookupKeysym(#if NeedFunctionPrototypes XKeyEvent* /* key_event */, int /* index */#endif);extern KeySym *XGetKeyboardMapping(#if NeedFunctionPrototypes Display* /* display */,#if NeedWidePrototypes unsigned int /* first_keycode */,#else KeyCode /* first_keycode */,#endif int /* keycode_count */, int* /* keysyms_per_keycode_return */#endif);extern KeySym XStringToKeysym(#if NeedFunctionPrototypes _Xconst char* /* string */#endif);extern long XMaxRequestSize(#if NeedFunctionPrototypes Display* /* display */#endif);extern long XExtendedMaxRequestSize(#if NeedFunctionPrototypes Display* /* display */#endif);extern char *XResourceManagerString(#if NeedFunctionPrototypes Display* /* display */#endif);extern char *XScreenResourceString(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern unsigned long XDisplayMotionBufferSize(#if NeedFunctionPrototypes Display* /* display */#endif);extern VisualID XVisualIDFromVisual(#if NeedFunctionPrototypes Visual* /* visual */#endif);/* multithread routines */extern Status XInitThreads(#if NeedFunctionPrototypes void#endif);extern void XLockDisplay(#if NeedFunctionPrototypes Display* /* display */#endif);extern void XUnlockDisplay(#if NeedFunctionPrototypes Display* /* display */#endif);/* routines for dealing with extensions */extern XExtCodes *XInitExtension(#if NeedFunctionPrototypes Display* /* display */, _Xconst char* /* name */#endif);extern XExtCodes *XAddExtension(#if NeedFunctionPrototypes Display* /* display */#endif);extern XExtData *XFindOnExtensionList(#if NeedFunctionPrototypes XExtData** /* structure */, int /* number */#endif);extern XExtData **XEHeadOfExtensionList(#if NeedFunctionPrototypes XEDataObject /* object */#endif);/* these are routines for which there are also macros */extern Window XRootWindow(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern Window XDefaultRootWindow(#if NeedFunctionPrototypes Display* /* display */#endif);extern Window XRootWindowOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern Visual *XDefaultVisual(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern Visual *XDefaultVisualOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -