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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype FileTransfer Source #

Memory-managed wrapper type.

Constructors

FileTransfer (ManagedPtr FileTransfer) 

Instances

Instances details
Eq FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

GObject FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

ManagedPtrNewtype FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

Methods

toManagedPtr :: FileTransfer -> ManagedPtr FileTransfer

TypedObject FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

Methods

glibType :: IO GType

HasParentTypes FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

IsGValue (Maybe FileTransfer) Source #

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

Instance details

Defined in GI.Dazzle.Objects.FileTransfer

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes FileTransfer Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

type ParentTypes FileTransfer = '[Object]

class (GObject o, IsDescendantOf FileTransfer o) => IsFileTransfer o Source #

Type class for types which can be safely cast to FileTransfer, for instance with toFileTransfer.

Instances

Instances details
(GObject o, IsDescendantOf FileTransfer o) => IsFileTransfer o Source # 
Instance details

Defined in GI.Dazzle.Objects.FileTransfer

toFileTransfer :: (MonadIO m, IsFileTransfer o) => o -> m FileTransfer Source #

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

Methods

add

fileTransferAdd :: (HasCallStack, MonadIO m, IsFileTransfer a, IsFile b, IsFile c) => a -> b -> c -> m () Source #

No description available in the introspection data.

execute

fileTransferExecute Source #

Arguments

:: (HasCallStack, MonadIO m, IsFileTransfer a, IsCancellable b) 
=> a 
-> Int32 
-> Maybe b 
-> m ()

(Can throw GError)

No description available in the introspection data.

executeAsync

fileTransferExecuteAsync :: (HasCallStack, MonadIO m, IsFileTransfer a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #

No description available in the introspection data.

executeFinish

fileTransferExecuteFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsFileTransfer a, IsAsyncResult b) 
=> a 
-> b 
-> m ()

(Can throw GError)

No description available in the introspection data.

getFlags

fileTransferGetFlags :: (HasCallStack, MonadIO m, IsFileTransfer a) => a -> m [FileTransferFlags] Source #

No description available in the introspection data.

getProgress

fileTransferGetProgress :: (HasCallStack, MonadIO m, IsFileTransfer a) => a -> m Double Source #

No description available in the introspection data.

new

fileTransferNew :: (HasCallStack, MonadIO m) => m FileTransfer Source #

No description available in the introspection data.

setFlags

fileTransferSetFlags :: (HasCallStack, MonadIO m, IsFileTransfer a) => a -> [FileTransferFlags] -> m () Source #

No description available in the introspection data.

stat

fileTransferStat Source #

Arguments

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

self: a FileTransfer

-> m FileTransferStat 

Gets statistics about the transfer progress.

Since: 3.28

Properties

flags

No description available in the introspection data.

constructFileTransferFlags :: (IsFileTransfer o, MonadIO m) => [FileTransferFlags] -> m (GValueConstruct o) Source #

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

getFileTransferFlags :: (MonadIO m, IsFileTransfer o) => o -> m [FileTransferFlags] Source #

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

get fileTransfer #flags

setFileTransferFlags :: (MonadIO m, IsFileTransfer o) => o -> [FileTransferFlags] -> m () Source #

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

set fileTransfer [ #flags := value ]

progress

No description available in the introspection data.

getFileTransferProgress :: (MonadIO m, IsFileTransfer o) => o -> m Double Source #

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

get fileTransfer #progress