?? xlib.h
字號:
#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);/* 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);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 void XSetTransientForHint(#if NeedFunctionPrototypes Display* /* display */, Window /* w */, Window /* prop_window */#endif);/* The following are given in alphabetical order */extern void XActivateScreenSaver(#if NeedFunctionPrototypes Display* /* display */#endif);extern void XAddHost(#if NeedFunctionPrototypes Display* /* display */, XHostAddress* /* host */#endif);extern void XAddHosts(#if NeedFunctionPrototypes Display* /* display */, XHostAddress* /* hosts */, int /* num_hosts */ #endif);extern void XAddToExtensionList(#if NeedFunctionPrototypes struct _XExtData** /* structure */, XExtData* /* ext_data */#endif);extern void 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 */,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -