gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Objects.Path

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Path Source #

Memory-managed wrapper type.

Constructors

Path (ManagedPtr Path) 

Instances

Instances details
Eq Path Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

Methods

(==) :: Path -> Path -> Bool #

(/=) :: Path -> Path -> Bool #

GObject Path Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

ManagedPtrNewtype Path Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

Methods

toManagedPtr :: Path -> ManagedPtr Path

TypedObject Path Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

Methods

glibType :: IO GType

HasParentTypes Path Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

IsGValue (Maybe Path) Source #

Convert Path to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Dazzle.Objects.Path

type ParentTypes Path = '[Object]

class (GObject o, IsDescendantOf Path o) => IsPath o Source #

Type class for types which can be safely cast to Path, for instance with toPath.

Instances

Instances details
(GObject o, IsDescendantOf Path o) => IsPath o Source # 
Instance details

Defined in GI.Dazzle.Objects.Path

toPath :: (MonadIO m, IsPath o) => o -> m Path Source #

Cast to Path, for types for which this is known to be safe. For general casts, use castTo.

Methods

append

pathAppend :: (HasCallStack, MonadIO m, IsPath a, IsPathElement b) => a -> b -> m () Source #

No description available in the introspection data.

getElement

pathGetElement Source #

Arguments

:: (HasCallStack, MonadIO m, IsPath a) 
=> a 
-> Word32 
-> m (Maybe PathElement)

Returns: An PathElement.

Gets the path element found at index.

Indexes start from zero.

getElements

pathGetElements Source #

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.