Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Dazzle.Objects.Path
Description
No description available in the introspection data.
Synopsis
- newtype Path = Path (ManagedPtr Path)
- class (GObject o, IsDescendantOf Path o) => IsPath o
- toPath :: (MonadIO m, IsPath o) => o -> m Path
- pathAppend :: (HasCallStack, MonadIO m, IsPath a, IsPathElement b) => a -> b -> m ()
- pathGetElement :: (HasCallStack, MonadIO m, IsPath a) => a -> Word32 -> m (Maybe PathElement)
- pathGetElements :: (HasCallStack, MonadIO m, IsPath a) => a -> m [PathElement]
- pathGetLength :: (HasCallStack, MonadIO m, IsPath a) => a -> m Word32
- pathHasPrefix :: (HasCallStack, MonadIO m, IsPath a, IsPath b) => a -> b -> m Bool
- pathIsEmpty :: (HasCallStack, MonadIO m, IsPath a) => a -> m Bool
- pathNew :: (HasCallStack, MonadIO m) => m Path
- pathPrepend :: (HasCallStack, MonadIO m, IsPath a, IsPathElement b) => a -> b -> m ()
- pathPrintf :: (HasCallStack, MonadIO m, IsPath a) => a -> m Text
Exported types
Memory-managed wrapper type.
Instances
Eq Path Source # | |
GObject Path Source # | |
Defined in GI.Dazzle.Objects.Path | |
ManagedPtrNewtype Path Source # | |
Defined in GI.Dazzle.Objects.Path Methods toManagedPtr :: Path -> ManagedPtr Path | |
TypedObject Path Source # | |
Defined in GI.Dazzle.Objects.Path | |
HasParentTypes Path Source # | |
Defined in GI.Dazzle.Objects.Path | |
IsGValue (Maybe Path) Source # | Convert |
Defined in GI.Dazzle.Objects.Path Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Path -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Path) | |
type ParentTypes Path Source # | |
Defined in GI.Dazzle.Objects.Path type ParentTypes Path = '[Object] |
class (GObject o, IsDescendantOf Path o) => IsPath o Source #
Instances
(GObject o, IsDescendantOf Path o) => IsPath o Source # | |
Defined in GI.Dazzle.Objects.Path |
Methods
Click to display all available methods, including inherited ones
Methods
append, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, hasPrefix, isEmpty, isFloating, notify, notifyByPspec, prepend, printf, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getElement, getElements, getLength, getProperty, getQdata.
Setters
append
pathAppend :: (HasCallStack, MonadIO m, IsPath a, IsPathElement b) => a -> b -> m () Source #
No description available in the introspection data.
getElement
Arguments
:: (HasCallStack, MonadIO m, IsPath a) | |
=> a | |
-> Word32 | |
-> m (Maybe PathElement) | Returns: An |
Gets the path element found at index
.
Indexes start from zero.
getElements
Arguments
:: (HasCallStack, MonadIO m, IsPath a) | |
=> a | |
-> m [PathElement] | Returns: The elements of the path. |
No description available in the introspection data.
getLength
pathGetLength :: (HasCallStack, MonadIO m, IsPath a) => a -> m Word32 Source #
No description available in the introspection data.
hasPrefix
pathHasPrefix :: (HasCallStack, MonadIO m, IsPath a, IsPath b) => a -> b -> m Bool Source #
No description available in the introspection data.
isEmpty
pathIsEmpty :: (HasCallStack, MonadIO m, IsPath a) => a -> m Bool Source #
No description available in the introspection data.
new
pathNew :: (HasCallStack, MonadIO m) => m Path Source #
No description available in the introspection data.
prepend
pathPrepend :: (HasCallStack, MonadIO m, IsPath a, IsPathElement b) => a -> b -> m () Source #
No description available in the introspection data.
printf
pathPrintf :: (HasCallStack, MonadIO m, IsPath a) => a -> m Text Source #
No description available in the introspection data.