📄 xlib.h
字号:
extern GC XDefaultGC(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern GC XDefaultGCOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern unsigned long XBlackPixel(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern unsigned long XWhitePixel(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern unsigned long XAllPlanes(#if NeedFunctionPrototypes void#endif);extern unsigned long XBlackPixelOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern unsigned long XWhitePixelOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern unsigned long XNextRequest(#if NeedFunctionPrototypes Display* /* display */#endif);extern unsigned long XLastKnownRequestProcessed(#if NeedFunctionPrototypes Display* /* display */#endif);extern char *XServerVendor(#if NeedFunctionPrototypes Display* /* display */#endif);extern char *XDisplayString(#if NeedFunctionPrototypes Display* /* display */#endif);extern Colormap XDefaultColormap(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern Colormap XDefaultColormapOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern Display *XDisplayOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern Screen *XScreenOfDisplay(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */#endif);extern Screen *XDefaultScreenOfDisplay(#if NeedFunctionPrototypes Display* /* display */#endif);extern long XEventMaskOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern int XScreenNumberOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */#if NeedFunctionPrototypes Display* /* display */, XErrorEvent* /* error_event */#endif);extern XErrorHandler XSetErrorHandler (#if NeedFunctionPrototypes XErrorHandler /* handler */#endif);typedef int (*XIOErrorHandler) ( /* WARNING, this type not in Xlib spec */#if NeedFunctionPrototypes Display* /* display */#endif);extern XIOErrorHandler XSetIOErrorHandler (#if NeedFunctionPrototypes XIOErrorHandler /* handler */#endif);extern XPixmapFormatValues *XListPixmapFormats(#if NeedFunctionPrototypes Display* /* display */, int* /* count_return */#endif);extern int *XListDepths(#if NeedFunctionPrototypes Display* /* display */, int /* screen_number */, int* /* count_return */#endif);/* ICCCM routines for things that don't require special include files; *//* other declarations are given in Xutil.h */extern Status XReconfigureWMWindow(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int /* screen_number */, unsigned int /* mask */, XWindowChanges* /* changes */#endif);extern Status XGetWMProtocols(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Atom** /* protocols_return */, int* /* count_return */#endif);extern Status XSetWMProtocols(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Atom* /* protocols */, int /* count */#endif);extern Status XIconifyWindow(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int /* screen_number */#endif);extern Status XWithdrawWindow(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int /* screen_number */#endif);extern Status XGetCommand(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, char*** /* argv_return */, int* /* argc_return */#endif);extern Status XGetWMColormapWindows(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Window** /* windows_return */, int* /* count_return */#endif);extern Status XSetWMColormapWindows(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Window* /* colormap_windows */, int /* count */#endif);extern void XFreeStringList(#if NeedFunctionPrototypes char** /* list */#endif);extern int XSetTransientForHint(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Window /* prop_window */#endif);/* The following are given in alphabetical order */extern int XActivateScreenSaver(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XAddHost(#if NeedFunctionPrototypes Display* /* display */, XHostAddress* /* host */#endif);extern int XAddHosts(#if NeedFunctionPrototypes Display* /* display */, XHostAddress* /* hosts */, int /* num_hosts */ #endif);extern int XAddToExtensionList(#if NeedFunctionPrototypes struct _XExtData** /* structure */, XExtData* /* ext_data */#endif);extern int XAddToSaveSet(#if NeedFunctionPrototypes Display* /* display */, Window /* w */#endif);extern Status XAllocColor(#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, XColor* /* screen_in_out */#endif);extern Status XAllocColorCells(#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, Bool /* contig */, unsigned long* /* plane_masks_return */, unsigned int /* nplanes */, unsigned long* /* pixels_return */, unsigned int /* npixels */#endif);extern Status XAllocColorPlanes(#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, Bool /* contig */, unsigned long* /* pixels_return */, int /* ncolors */, int /* nreds */, int /* ngreens */, int /* nblues */, unsigned long* /* rmask_return */, unsigned long* /* gmask_return */, unsigned long* /* bmask_return */#endif);extern Status XAllocNamedColor(#if NeedFunctionPrototypes Display* /* display */, Colormap /* colormap */, _Xconst char* /* color_name */, XColor* /* screen_def_return */, XColor* /* exact_def_return */#endif);extern int XAllowEvents(#if NeedFunctionPrototypes Display* /* display */, int /* event_mode */, Time /* time */#endif);extern int XAutoRepeatOff(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XAutoRepeatOn(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XBell(#if NeedFunctionPrototypes Display* /* display */, int /* percent */#endif);extern int XBitmapBitOrder(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XBitmapPad(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XBitmapUnit(#if NeedFunctionPrototypes Display* /* display */#endif);extern int XCellsOfScreen(#if NeedFunctionPrototypes Screen* /* screen */#endif);extern int XChangeActivePointerGrab(#if NeedFunctionPrototypes Display* /* display */, unsigned int /* event_mask */, Cursor /* cursor */, Time /* time */#endif);extern int XChangeGC(#if NeedFunctionPrototypes Display* /* display */, GC /* gc */, unsigned long /* valuemask */, XGCValues* /* values */#endif);extern int XChangeKeyboardControl(#if NeedFunctionPrototypes Display* /* display */, unsigned long /* value_mask */, XKeyboardControl* /* values */#endif);extern int XChangeKeyboardMapping(#if NeedFunctionPrototypes Display* /* display */, int /* first_keycode */, int /* keysyms_per_keycode */, KeySym* /* keysyms */, int /* num_codes */#endif);extern int XChangePointerControl(#if NeedFunctionPrototypes Display* /* display */, Bool /* do_accel */, Bool /* do_threshold */, int /* accel_numerator */, int /* accel_denominator */, int /* threshold */#endif);extern int XChangeProperty(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Atom /* property */, Atom /* type */, int /* format */, int /* mode */, _Xconst unsigned char* /* data */, int /* nelements */#endif);extern int XChangeSaveSet(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int /* change_mode */#endif);extern int XChangeWindowAttributes(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, unsigned long /* valuemask */, XSetWindowAttributes* /* attributes */#endif);extern Bool XCheckIfEvent(#if NeedFunctionPrototypes Display* /* display */, XEvent* /* event_return */, Bool (*) (#if NeedNestedPrototypes Display* /* display */, XEvent* /* event */, XPointer /* arg */#endif ) /* predicate */, XPointer /* arg */#endif);extern Bool XCheckMaskEvent(#if NeedFunctionPrototypes Display* /* display */, long /* event_mask */, XEvent* /* event_return */#endif);extern Bool XCheckTypedEvent(#if NeedFunctionPrototypes Display* /* display */, int /* event_type */, XEvent* /* event_return */#endif);extern Bool XCheckTypedWindowEvent(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, int /* event_type */, XEvent* /* event_return */#endif);extern Bool XCheckWindowEvent(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, long /* event_mask */, XEvent* /* event_return */#endif);extern
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -