| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Structs.Atom
Description
An opaque type representing a string as an index into a table of strings on the X server.
Synopsis
- newtype Atom = Atom (ManagedPtr Atom)
- atomIntern :: (HasCallStack, MonadIO m) => Text -> Bool -> m Atom
- atomInternStaticString :: (HasCallStack, MonadIO m) => Text -> m Atom
- atomName :: (HasCallStack, MonadIO m) => Atom -> m Text
Exported types
Memory-managed wrapper type.
Constructors
| Atom (ManagedPtr Atom) |
Instances
| Eq Atom Source # | |
| BoxedPtr Atom Source # | |
Defined in GI.Gdk.Structs.Atom | |
| ManagedPtrNewtype Atom Source # | |
Defined in GI.Gdk.Structs.Atom Methods toManagedPtr :: Atom -> ManagedPtr Atom Source # | |
Methods
Overloaded methods
intern
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Text |
|
| -> Bool |
|
| -> m Atom | Returns: the atom corresponding to |
Finds or creates an atom corresponding to a given string.