Module x11rb_protocol::resource_manager
source Β· Expand description
X11 resource manager library.
To open a database, it is recommended to use Database::new_from_default
, but that function
needs to do I/O. A wrapper to simplify usage is e.g. provided in the x11rb crate.
This functionality is similar to what is available to C code through xcb-util-xrm and Xlibβs
Xrm*
function family. Not all their functionality is available in this library. Please open a
feature request if you need something that is not available.
The code in this module is only available when the resource_manager
feature of the library is
enabled.
Modules§
- matcher πMatch Xrm entries against a query.
- parser πCode for parsing resource management things
Structs§
- A X11 resource database.
- Entry πA single entry in the resource manager database.
Enums§
- Binding πHow tightly does the component of an entry match a query?
- Component πA component of a database entry.
Constants§
- MAX_
INCLUSIO πN_ DEPTH Maximum nesting of #include directives, same value as Xlib uses. After following this many#include
directives, further includes are ignored.
Functions§
- Parse the given data as a resource database.
- to_bool πParse a value to a boolean, returning
None
if this is not possible.