SysTutorials Posts

  • |

    XBaseFontNameListOfFontSet (3) Linux Manual Page

    XFontsOfFontSet, XBaseFontNameListOfFontSet, XLocaleOfFontSet, XContextDependentDrawing, XContextualDrawing, XDirectionalDependentDrawing – obtain fontset information Syntax int XFontsOfFontSet(XFontSet font_set, XFontStruct ***font_struct_list_return, char ***font_name_list_return); char *XBaseFontNameListOfFontSet(XFontSet font_set); char *XLocaleOfFontSet(XFontSet font_set); Bool XContextDependentDrawing(XFontSet font_set); Bool XContextualDrawing(XFontSet font_set); Bool XDirectionalDependentDrawing(XFontSet font_set); Arguments font_set Specifies the font set. font_name_list_return Returns the list of font names. font_struct_list_return Returns the list of font structs. Description The…

  • |

    XAutoRepeatOn (3) Linux Manual Page

    XChangeKeyboardControl, XGetKeyboardControl, XAutoRepeatOn, XAutoRepeatOff, XBell, XQueryKeymap, XKeyboardControl – manipulate keyboard settings and keyboard control structure Syntax int XChangeKeyboardControl(Display *display, unsigned long value_mask, XKeyboardControl *values); int XGetKeyboardControl(Display *display, XKeyboardState *values_return); int XAutoRepeatOn(Display *display); int XAutoRepeatOff(Display *display); int XBell(Display *display, int percent); int XQueryKeymap(Display *display, char keys_return[32]); Arguments display Specifies the connection to the X server. keys_return…

  • |

    XAutoRepeatOff (3) Linux Manual Page

    XChangeKeyboardControl, XGetKeyboardControl, XAutoRepeatOn, XAutoRepeatOff, XBell, XQueryKeymap, XKeyboardControl – manipulate keyboard settings and keyboard control structure Syntax int XChangeKeyboardControl(Display *display, unsigned long value_mask, XKeyboardControl *values); int XGetKeyboardControl(Display *display, XKeyboardState *values_return); int XAutoRepeatOn(Display *display); int XAutoRepeatOff(Display *display); int XBell(Display *display, int percent); int XQueryKeymap(Display *display, char keys_return[32]); Arguments display Specifies the connection to the X server. keys_return…

  • |

    XArc (3) Linux Manual Page

    XDrawArc, XDrawArcs, XArc – draw arcs and arc structure Syntax int XDrawArc(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int angle1, int angle2); int XDrawArcs(Display *display, Drawable d, GC gc, XArc *arcs, int narcs); Arguments angle1 Specifies the start of the arc relative to the three-o’clock position…

  • |

    XAnyEvent (3) Linux Manual Page

    XAnyEvent, XEvent – generic X event structures Structures All the event structures declared in have the following common members: typedef struct {         int type;         unsigned long serial;   /* # of last request processed by server */         Bool send_event;        /* true if this came from a SendEvent request */         Display *display;       /* Display the event was read from */         Window window; } XAnyEvent; The type member is…

  • |

    XAllowEvents (3) Linux Manual Page

    XAllowEvents – release queued events Syntax int XAllowEvents(Display *display, int event_mode, Time time); Arguments display Specifies the connection to the X server. event_mode Specifies the event mode. You can pass AsyncPointer, SyncPointer, AsyncKeyboard, SyncKeyboard, ReplayPointer, ReplayKeyboard, AsyncBoth, or SyncBoth. time Specifies the time. You can pass either a timestamp or CurrentTime. Description The XAllowEvents function…

  • |

    XAllowDeviceEvents (3) Linux Manual Page

    XAllowDeviceEvents – release queued events Synopsis #include <X11/extensions/XInput.h> int XAllowDeviceEvents( Display *display, XDevice *device, int event_mode, Time time); display Specifies the connection to the X server. device Specifies the device from which events are to be allowed. event_mode Specifies the event mode.You can pass AsyncThisDevice, SyncThisDevice, ReplayThisDevice, AsyncOtherDevices, SyncAll, or AsyncAll. time Specifies the time….

  • |

    XAllocWMHints (3) Linux Manual Page

    XAllocWMHints, XSetWMHints, XGetWMHints, XWMHints – allocate window manager hints structure and set or read a window’s WM_HINTS property Syntax XWMHints *XAllocWMHints(void); int XSetWMHints(Display *display, Window w, XWMHints *wmhints); XWMHints *XGetWMHints(Display *display, Window w); Arguments display Specifies the connection to the X server. w Specifies the window. wmhints Specifies the XWMHints structure to be used. Description…

  • |

    XAllocStandardColormap (3) Linux Manual Page

    XAllocStandardColormap, XSetRGBColormaps, XGetRGBColormaps, XStandardColormap – allocate, set, or read a standard colormap structure Syntax XStandardColormap *XAllocStandardColormap(void); void XSetRGBColormaps(Display *display, Window w, XStandardColormap *std_colormap, int count, Atom property); Status XGetRGBColormaps(Display *display, Window w, XStandardColormap **std_colormap_return, int *count_return, Atom property); Arguments display Specifies the connection to the X server. count Specifies the number of colormaps. count_return Returns…

  • |

    XAllocSizeHints (3) Linux Manual Page

    XAllocSizeHints, XSetWMNormalHints, XGetWMNormalHints, XSetWMSizeHints, XGetWMSizeHints, XSizeHints – allocate size hints structure and set or read a window’s WM_NORMAL_HINTS property Syntax XSizeHints *XAllocSizeHints(void); void XSetWMNormalHints(Display *display, Window w, XSizeHints *hints); Status XGetWMNormalHints(Display *display, Window w, XSizeHints *hints_return, long *supplied_return); void XSetWMSizeHints(Display *display, Window w, XSizeHints *hints, Atom property); Status XGetWMSizeHints(Display *display, Window w, XSizeHints *hints_return, long…

  • |

    XAllocNamedColor (3) Linux Manual Page

    XAllocColor, XAllocNamedColor, XAllocColorCells, XAllocColorPlanes, XFreeColors – allocate and free colors Syntax Status XAllocColor(Display *display, Colormap colormap, XColor *screen_in_out); Status XAllocNamedColor(Display *display, Colormap colormap, char *color_name, XColor *screen_def_return, XColor *exact_def_return); Status XAllocColorCells(Display *display, Colormap colormap, Bool contig, unsigned long plane_masks_return[], unsigned int nplanes, unsigned long pixels_return[], unsigned int npixels); Status XAllocColorPlanes(Display *display, Colormap colormap, Bool contig,…

  • |

    XAllocIconSize (3) Linux Manual Page

    XAllocIconSize, XSetIconSizes, XGetIconSizes, XIconSize – allocate icon size structure and set or read a window’s WM_ICON_SIZES property Syntax XIconSize *XAllocIconSize(void); int XSetIconSizes(Display *display, Window w, XIconSize *size_list, int count); Status XGetIconSizes(Display *display, Window w, XIconSize **size_list_return, int count_return); Arguments display Specifies the connection to the X server. count Specifies the number of items in the…

  • |

    XAllocColorPlanes (3) Linux Manual Page

    XAllocColor, XAllocNamedColor, XAllocColorCells, XAllocColorPlanes, XFreeColors – allocate and free colors Syntax Status XAllocColor(Display *display, Colormap colormap, XColor *screen_in_out); Status XAllocNamedColor(Display *display, Colormap colormap, char *color_name, XColor *screen_def_return, XColor *exact_def_return); Status XAllocColorCells(Display *display, Colormap colormap, Bool contig, unsigned long plane_masks_return[], unsigned int nplanes, unsigned long pixels_return[], unsigned int npixels); Status XAllocColorPlanes(Display *display, Colormap colormap, Bool contig,…

  • |

    XAllocColorCells (3) Linux Manual Page

    XAllocColor, XAllocNamedColor, XAllocColorCells, XAllocColorPlanes, XFreeColors – allocate and free colors Syntax Status XAllocColor(Display *display, Colormap colormap, XColor *screen_in_out); Status XAllocNamedColor(Display *display, Colormap colormap, char *color_name, XColor *screen_def_return, XColor *exact_def_return); Status XAllocColorCells(Display *display, Colormap colormap, Bool contig, unsigned long plane_masks_return[], unsigned int nplanes, unsigned long pixels_return[], unsigned int npixels); Status XAllocColorPlanes(Display *display, Colormap colormap, Bool contig,…

  • |

    XAllocColor (3) Linux Manual Page

    XAllocColor, XAllocNamedColor, XAllocColorCells, XAllocColorPlanes, XFreeColors – allocate and free colors Syntax Status XAllocColor(Display *display, Colormap colormap, XColor *screen_in_out); Status XAllocNamedColor(Display *display, Colormap colormap, char *color_name, XColor *screen_def_return, XColor *exact_def_return); Status XAllocColorCells(Display *display, Colormap colormap, Bool contig, unsigned long plane_masks_return[], unsigned int nplanes, unsigned long pixels_return[], unsigned int npixels); Status XAllocColorPlanes(Display *display, Colormap colormap, Bool contig,…

  • |

    XAllocClassHint (3) Linux Manual Page

    XAllocClassHint, XSetClassHint, XGetClassHint, XClassHint – allocate class hints structure and set or read a window’s WM_CLASS property Syntax XClassHint *XAllocClassHint(void); XSetClassHint(Display *display, Window w, XClassHint *class_hints); Status XGetClassHint(Display *display, Window w, XClassHint *class_hints_return); Arguments display Specifies the connection to the X server. class_hints Specifies the XClassHint structure that is to be used. class_hints_return Returns the…

  • |

    XAddToSaveSet (3) Linux Manual Page

    XChangeSaveSet, XAddToSaveSet, XRemoveFromSaveSet – change a client’s save set Syntax int XChangeSaveSet(Display *display, Window w, int change_mode); int XAddToSaveSet(Display *display, Window w); int XRemoveFromSaveSet(Display *display, Window w); Arguments change_mode Specifies the mode. You can pass SetModeInsert or SetModeDelete. display Specifies the connection to the X server. w Specifies the window that you want to add…

  • |

    XAddPixel (3) Linux Manual Page

    XInitImage, XCreateImage, XGetPixel, XPutPixel, XSubImage, XAddPixel, XDestroyImage – image utilities Syntax Status XInitImage(XImage *image); XImage *XCreateImage(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); unsigned long XGetPixel(XImage *ximage, int x, int y); int XPutPixel(XImage *ximage, int x, int y, unsigned long…

  • |

    XAddHosts (3) Linux Manual Page

    XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress, XServerInterpretedAddress – control host access and host control structure Syntax int XAddHost(Display *display, XHostAddress *host); int XAddHosts(Display *display, XHostAddress *hosts, int num_hosts); XHostAddress *XListHosts(Display *display, int *nhosts_return, Bool state_return); int XRemoveHost(Display *display, XHostAddress *host); int XRemoveHosts(Display *display, XHostAddress *hosts, int num_hosts); int XSetAccessControl(Display *display, int mode);…

  • |

    XAddHost (3) Linux Manual Page

    XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress, XServerInterpretedAddress – control host access and host control structure Syntax int XAddHost(Display *display, XHostAddress *host); int XAddHosts(Display *display, XHostAddress *hosts, int num_hosts); XHostAddress *XListHosts(Display *display, int *nhosts_return, Bool state_return); int XRemoveHost(Display *display, XHostAddress *host); int XRemoveHosts(Display *display, XHostAddress *hosts, int num_hosts); int XSetAccessControl(Display *display, int mode);…