XOpenOM, XCloseOM, XSetOMValues, XGetOMValues, XDisplayOfOM, XLocaleOfOM − open output methods


XOM XOpenOM(Display *display, XrmDatabase db, char *res_name, char *res_class);

Status XCloseOM(XOM om);

char *XSetOMValues(XOM om);

char *XGetOMValues(XOM om);

Display *XDisplayOfOM(XOM om);

char *XLocaleOfOM(XOM om);



Specifies the connection to the X server.


Specifies a pointer to the resource database.


Specifies the full resource name of the application.


Specifies the full class name of the application.


Specifies the output method.


Specifies the variable length argument list to set or get XOM values.


The XOpenOM function opens an output method matching the current locale and modifiers specification. The current locale and modifiers are bound to the output method when XOpenOM is called. The locale associated with an output method cannot be changed.

The specific output method to which this call will be routed is identified on the basis of the current locale and modifiers. XOpenOM will identify a default output method corresponding to the current locale. That default can be modified using XSetLocaleModifiers to set the output method modifier.

The db argument is the resource database to be used by the output method for looking up resources that are private to the output method. It is not intended that this database be used to look up values that can be set as OC values in an output context. If db is NULL, no database is passed to the output method.

The res_name and res_class arguments specify the resource name and class of the application. They are intended to be used as prefixes by the output method when looking up resources that are common to all output contexts that may be created for this output method. The characters used for resource names and classes must be in the X Portable Character Set. The resources looked up are not fully specified if res_name or res_class is NULL.

The res_name and res_class arguments are not assumed to exist beyond the call to XOpenOM. The specified resource database is assumed to exist for the lifetime of the output method.

XOpenOM returns NULL if no output method could be opened.

The XCloseOM function closes the specified output method.

The XSetOMValues function presents a variable argument list programming interface for setting properties or features of the specified output method. This function returns NULL if it succeeds; otherwise, it returns the name of the first argument that could not be set. Xlib does not attempt to set arguments from the supplied list that follow the failed argument; all arguments in the list preceding the failed argument have been set correctly.

No standard arguments are currently defined by Xlib.

The XGetOMValues function presents a variable argument list programming interface for querying properties or features of the specified output method. This function returns NULL if it succeeds; otherwise, it returns the name of the first argument that could not be obtained.

The XDisplayOfOM function returns the display associated with the specified output method.

The XLocaleOfOM returns the locale associated with the specified output method.


XCreateOC(3), XCreateFontSet(3)
Xlib − C Language X Interface

More Linux Commands

ruserok(3) - routines for returning a stream to a remote com
The rcmd() function is used by the superuser to execute a command on a remote machine using an authentication scheme based on privileged port numbers. The rresv

glTexEnvfv(3gl) - set texture environment parameters........
A texture environment specifies how texture values are interpreted when a fragment is textured. target must be GL_TEXTURE_ENV. pname can be either GL_TEXTURE_EN

pututxline(3) - access utmp file entries - Linux man page...
New applications should use the POSIX.1-specified utmpx versions of these functions; see CONFORMING TO. utmpname() sets the name of the utmp-format file for the

fftest(1) tests force-feedback devices. - Linux manual page
fftest provides a variety of tests which can be applied to force-feedback devices. Beware, the tests may damage your device! OPTIONS <device> The device to test

libtoolize(1) - manual page for libtoolize 2.4 (Man Page)...
Prepare a package to use libtool. -c, --copy copy files rather than symlinking them --debug enable verbose shell tracing -n, --dry-run print commands rather tha

mrtg-contrib(1) Contribution Guidelines for MRTG (Man Page)
If you have written an extension to mrtg or created a bug fix, please consider contributing it to the project. As I get quite a number of contributions every we

XDestroyIC(3) - create, destroy, and obtain the input method
The XCreateIC function creates a context within the specified input method. Some of the arguments are mandatory at creation time, and the input context will not

systemd-udevd-control.socket(8) Device event managing daemon
systemd-udevd-control.socket.8 - systemd-udevd listens to kernel uevents. For every event, systemd-udevd executes matching instructions specified in udev rules.

regsub(n) - Perform substitutions based on regular expressio
This command matches the regular expression exp against string, and either copies string to the variable whose name is given by varName or returns string if var

XkbIgnoreExtension(3) - Prevents core X library keyboard fun
If a server supports the Xkb extension, the X library normally implements preXkb keyboard functions using the Xkb keyboard description and state. The server Xkb

DMXChangeDesktopAttributes(3) - change global bounding box
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect on the screen layout. A

git-get-tar-commit-id(1) - Extract commit ID from an archive
Acts as a filter, extracting the commit ID stored in archives created by git archive. It reads only the first 1024 bytes of input, thus its runtime is not influ

We can't live, work or learn in freedom unless the software we use is free.