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.DirectoryModel

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DirectoryModel Source #

Memory-managed wrapper type.

Constructors

DirectoryModel (ManagedPtr DirectoryModel) 

Instances

Instances details
Eq DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

GObject DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

ManagedPtrNewtype DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

TypedObject DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

Methods

glibType :: IO GType

HasParentTypes DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

IsGValue (Maybe DirectoryModel) Source #

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

Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe DirectoryModel -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe DirectoryModel)

type ParentTypes DirectoryModel Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

type ParentTypes DirectoryModel = '[Object, ListModel]

class (GObject o, IsDescendantOf DirectoryModel o) => IsDirectoryModel o Source #

Type class for types which can be safely cast to DirectoryModel, for instance with toDirectoryModel.

Instances

Instances details
(GObject o, IsDescendantOf DirectoryModel o) => IsDirectoryModel o Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryModel

toDirectoryModel :: (MonadIO m, IsDirectoryModel o) => o -> m DirectoryModel Source #

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

Methods

getDirectory

directoryModelGetDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsDirectoryModel a) 
=> a

self: a DirectoryModel

-> m File

Returns: A File

Gets the directory the model is observing.

new

directoryModelNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsFile a) 
=> a

directory: A File

-> m ListModel

Returns: A newly created DirectoryModel

Creates a new DirectoryModel using directory as the directory to monitor.

setDirectory

directoryModelSetDirectory :: (HasCallStack, MonadIO m, IsDirectoryModel a, IsFile b) => a -> b -> m () Source #

No description available in the introspection data.

setVisibleFunc

directoryModelSetVisibleFunc :: (HasCallStack, MonadIO m, IsDirectoryModel a) => a -> DirectoryModelVisibleFunc -> m () Source #

No description available in the introspection data.

Properties

directory

No description available in the introspection data.

constructDirectoryModelDirectory :: (IsDirectoryModel o, MonadIO m, IsFile a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “directory” property. This is rarely needed directly, but it is used by new.

getDirectoryModelDirectory :: (MonadIO m, IsDirectoryModel o) => o -> m File Source #

Get the value of the “directory” property. When overloading is enabled, this is equivalent to

get directoryModel #directory

setDirectoryModelDirectory :: (MonadIO m, IsDirectoryModel o, IsFile a) => o -> a -> m () Source #

Set the value of the “directory” property. When overloading is enabled, this is equivalent to

set directoryModel [ #directory := value ]