Note that XrmInitialize
is already wrapped in the base X11
library as rmInitialize
.
- data RMDatabase
- data RMValue = RMValue {}
- resourceManagerString :: Display -> IO (Maybe String)
- rmGetFileDatabase :: String -> IO (Maybe RMDatabase)
- rmPutFileDatabase :: RMDatabase -> String -> IO ()
- rmGetStringDatabase :: String -> IO (Maybe RMDatabase)
- rmLocaleOfDatabase :: RMDatabase -> IO String
- rmDestroyDatabase :: RMDatabase -> IO ()
- rmSetDatabase :: Display -> RMDatabase -> IO ()
- rmGetDatabase :: Display -> IO (Maybe RMDatabase)
- rmCombineFileDatabase :: String -> RMDatabase -> Bool -> IO ()
- rmCombineDatabase :: RMDatabase -> RMDatabase -> Bool -> IO ()
- rmMergeDatabases :: RMDatabase -> RMDatabase -> IO ()
- rmGetResource :: RMDatabase -> String -> String -> IO (Maybe (String, RMValue))
- rmPutResource :: RMDatabase -> String -> String -> RMValue -> IO ()
- rmPutStringResource :: RMDatabase -> String -> String -> IO ()
- rmPutLineResource :: RMDatabase -> String -> IO ()
- getDefault :: Display -> String -> String -> IO (Maybe String)
- rmValue :: RMValue -> IO String
Resource manager
data RMDatabase Source
pointer to an X11 XrmDatabase
structure
counterpart of an X11 XrmValue
structure
resourceManagerString :: Display -> IO (Maybe String)Source
interface to the X11 library function XResourceManagerString()
.
The one in the X11 library (Display
) is unsafe,
this one is safe.
rmGetFileDatabase :: String -> IO (Maybe RMDatabase)Source
interface to the X11 library function XrmGetFileDatabase()
.
rmPutFileDatabase :: RMDatabase -> String -> IO ()Source
interface to the X11 library function XrmPutFileDatabase()
.
rmGetStringDatabase :: String -> IO (Maybe RMDatabase)Source
interface to the X11 library function XrmGetStringDatabase()
.
rmLocaleOfDatabase :: RMDatabase -> IO StringSource
interface to the X11 library function XrmLocaleOfDatabase()
.
rmDestroyDatabase :: RMDatabase -> IO ()Source
interface to the X11 library function XrmDestroyDatabase()
.
rmSetDatabase :: Display -> RMDatabase -> IO ()Source
interface to the X11 library function XrmSetDatabase()
.
rmGetDatabase :: Display -> IO (Maybe RMDatabase)Source
interface to the X11 library function XrmGetDatabase()
.
rmCombineFileDatabase :: String -> RMDatabase -> Bool -> IO ()Source
interface to the X11 library function XrmCombineFileDatabase()
.
rmCombineDatabase :: RMDatabase -> RMDatabase -> Bool -> IO ()Source
interface to the X11 library function XrmCombineDatabase()
.
rmMergeDatabases :: RMDatabase -> RMDatabase -> IO ()Source
interface to the X11 library function XrmMergeDatabases()
.
rmGetResource :: RMDatabase -> String -> String -> IO (Maybe (String, RMValue))Source
interface to the X11 library function XrmGetResource()
.
rmPutResource :: RMDatabase -> String -> String -> RMValue -> IO ()Source
interface to the X11 library function XrmPutResource()
.
rmPutStringResource :: RMDatabase -> String -> String -> IO ()Source
interface to the X11 library function XrmPutStringResource()
.
rmPutLineResource :: RMDatabase -> String -> IO ()Source
interface to the X11 library function XrmPutLineResource()
.