gi-gtksource-3.0.7: GtkSource bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.FileSaver

Contents

Description

 

Synopsis

Exported types

newtype FileSaver Source #

Constructors

FileSaver (ManagedPtr FileSaver) 

Instances

GObject FileSaver Source # 
IsObject FileSaver Source # 
IsFileSaver FileSaver Source # 
((~) * info (ResolveFileSaverMethod t FileSaver), MethodInfo * info FileSaver p) => IsLabel t (FileSaver -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> FileSaver -> p #

((~) * info (ResolveFileSaverMethod t FileSaver), MethodInfo * info FileSaver p) => IsLabelProxy t (FileSaver -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> FileSaver -> p

HasAttributeList * FileSaver Source # 
type SignalList FileSaver Source # 
type SignalList FileSaver
type AttributeList FileSaver Source # 
type AttributeList FileSaver

class GObject o => IsFileSaver o Source #

Instances

(GObject a, UnknownAncestorError Constraint FileSaver a) => IsFileSaver a Source # 
IsFileSaver FileSaver Source # 

Methods

getBuffer

data FileSaverGetBufferMethodInfo Source #

Instances

((~) * signature (m Buffer), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetBufferMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetBufferMethodInfo a -> signature -> s

getCompressionType

data FileSaverGetCompressionTypeMethodInfo Source #

Instances

((~) * signature (m CompressionType), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetCompressionTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetCompressionTypeMethodInfo a -> signature -> s

getEncoding

data FileSaverGetEncodingMethodInfo Source #

Instances

((~) * signature (m Encoding), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetEncodingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetEncodingMethodInfo a -> signature -> s

getFile

data FileSaverGetFileMethodInfo Source #

Instances

((~) * signature (m File), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetFileMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetFileMethodInfo a -> signature -> s

getFlags

data FileSaverGetFlagsMethodInfo Source #

Instances

((~) * signature (m [FileSaverFlags]), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetFlagsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetFlagsMethodInfo a -> signature -> s

getLocation

data FileSaverGetLocationMethodInfo Source #

Instances

((~) * signature (m File), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetLocationMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetLocationMethodInfo a -> signature -> s

getNewlineType

data FileSaverGetNewlineTypeMethodInfo Source #

Instances

((~) * signature (m NewlineType), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverGetNewlineTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverGetNewlineTypeMethodInfo a -> signature -> s

new

fileSaverNew :: (MonadIO m, IsBuffer a, IsFile b) => a -> b -> m FileSaver Source #

newWithTarget

fileSaverNewWithTarget :: (MonadIO m, IsBuffer a, IsFile b, IsFile c) => a -> b -> c -> m FileSaver Source #

saveAsync

data FileSaverSaveAsyncMethodInfo Source #

Instances

((~) * signature (Int32 -> Maybe b -> Maybe FileProgressCallback -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsFileSaver a, IsCancellable b) => MethodInfo * FileSaverSaveAsyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSaveAsyncMethodInfo a -> signature -> s

fileSaverSaveAsync :: (MonadIO m, IsFileSaver a, IsCancellable b) => a -> Int32 -> Maybe b -> Maybe FileProgressCallback -> Maybe AsyncReadyCallback -> m () Source #

saveFinish

data FileSaverSaveFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsFileSaver a, IsAsyncResult b) => MethodInfo * FileSaverSaveFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSaveFinishMethodInfo a -> signature -> s

fileSaverSaveFinish :: (MonadIO m, IsFileSaver a, IsAsyncResult b) => a -> b -> m () Source #

setCompressionType

data FileSaverSetCompressionTypeMethodInfo Source #

Instances

((~) * signature (CompressionType -> m ()), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverSetCompressionTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSetCompressionTypeMethodInfo a -> signature -> s

setEncoding

data FileSaverSetEncodingMethodInfo Source #

Instances

((~) * signature (Maybe Encoding -> m ()), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverSetEncodingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSetEncodingMethodInfo a -> signature -> s

setFlags

data FileSaverSetFlagsMethodInfo Source #

Instances

((~) * signature ([FileSaverFlags] -> m ()), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverSetFlagsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSetFlagsMethodInfo a -> signature -> s

setNewlineType

data FileSaverSetNewlineTypeMethodInfo Source #

Instances

((~) * signature (NewlineType -> m ()), MonadIO m, IsFileSaver a) => MethodInfo * FileSaverSetNewlineTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy FileSaverSetNewlineTypeMethodInfo a -> signature -> s

Properties

buffer

data FileSaverBufferPropertyInfo Source #

Instances

AttrInfo FileSaverBufferPropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverBufferPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverBufferPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverBufferPropertyInfo :: * -> Constraint

type AttrGetType FileSaverBufferPropertyInfo :: *

type AttrLabel FileSaverBufferPropertyInfo :: Symbol

type AttrOrigin FileSaverBufferPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverBufferPropertyInfo o => Proxy * FileSaverBufferPropertyInfo -> o -> IO (AttrGetType FileSaverBufferPropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverBufferPropertyInfo o, AttrSetTypeConstraint FileSaverBufferPropertyInfo b) => Proxy * FileSaverBufferPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverBufferPropertyInfo o => Proxy * FileSaverBufferPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverBufferPropertyInfo o, AttrSetTypeConstraint FileSaverBufferPropertyInfo b) => Proxy * FileSaverBufferPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverBufferPropertyInfo Source # 
type AttrSetTypeConstraint FileSaverBufferPropertyInfo = IsBuffer
type AttrOrigin FileSaverBufferPropertyInfo Source # 
type AttrLabel FileSaverBufferPropertyInfo Source # 
type AttrLabel FileSaverBufferPropertyInfo = "buffer"
type AttrGetType FileSaverBufferPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverBufferPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverBufferPropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverBufferPropertyInfo Source # 
type AttrAllowedOps FileSaverBufferPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructFileSaverBuffer :: (IsFileSaver o, IsBuffer a) => a -> IO (GValueConstruct o) Source #

fileSaverBuffer :: AttrLabelProxy "buffer" Source #

compressionType

data FileSaverCompressionTypePropertyInfo Source #

Instances

AttrInfo FileSaverCompressionTypePropertyInfo Source # 
type AttrSetTypeConstraint FileSaverCompressionTypePropertyInfo Source # 
type AttrOrigin FileSaverCompressionTypePropertyInfo Source # 
type AttrLabel FileSaverCompressionTypePropertyInfo Source # 
type AttrLabel FileSaverCompressionTypePropertyInfo = "compression-type"
type AttrGetType FileSaverCompressionTypePropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverCompressionTypePropertyInfo Source # 
type AttrAllowedOps FileSaverCompressionTypePropertyInfo Source # 
type AttrAllowedOps FileSaverCompressionTypePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

fileSaverCompressionType :: AttrLabelProxy "compressionType" Source #

encoding

data FileSaverEncodingPropertyInfo Source #

Instances

AttrInfo FileSaverEncodingPropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverEncodingPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverEncodingPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverEncodingPropertyInfo :: * -> Constraint

type AttrGetType FileSaverEncodingPropertyInfo :: *

type AttrLabel FileSaverEncodingPropertyInfo :: Symbol

type AttrOrigin FileSaverEncodingPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverEncodingPropertyInfo o => Proxy * FileSaverEncodingPropertyInfo -> o -> IO (AttrGetType FileSaverEncodingPropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverEncodingPropertyInfo o, AttrSetTypeConstraint FileSaverEncodingPropertyInfo b) => Proxy * FileSaverEncodingPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverEncodingPropertyInfo o => Proxy * FileSaverEncodingPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverEncodingPropertyInfo o, AttrSetTypeConstraint FileSaverEncodingPropertyInfo b) => Proxy * FileSaverEncodingPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverEncodingPropertyInfo Source # 
type AttrSetTypeConstraint FileSaverEncodingPropertyInfo = * ~ Encoding
type AttrOrigin FileSaverEncodingPropertyInfo Source # 
type AttrLabel FileSaverEncodingPropertyInfo Source # 
type AttrLabel FileSaverEncodingPropertyInfo = "encoding"
type AttrGetType FileSaverEncodingPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverEncodingPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverEncodingPropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverEncodingPropertyInfo Source # 
type AttrAllowedOps FileSaverEncodingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

constructFileSaverEncoding :: IsFileSaver o => Encoding -> IO (GValueConstruct o) Source #

fileSaverEncoding :: AttrLabelProxy "encoding" Source #

file

data FileSaverFilePropertyInfo Source #

Instances

AttrInfo FileSaverFilePropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverFilePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverFilePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverFilePropertyInfo :: * -> Constraint

type AttrGetType FileSaverFilePropertyInfo :: *

type AttrLabel FileSaverFilePropertyInfo :: Symbol

type AttrOrigin FileSaverFilePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverFilePropertyInfo o => Proxy * FileSaverFilePropertyInfo -> o -> IO (AttrGetType FileSaverFilePropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverFilePropertyInfo o, AttrSetTypeConstraint FileSaverFilePropertyInfo b) => Proxy * FileSaverFilePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverFilePropertyInfo o => Proxy * FileSaverFilePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverFilePropertyInfo o, AttrSetTypeConstraint FileSaverFilePropertyInfo b) => Proxy * FileSaverFilePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverFilePropertyInfo Source # 
type AttrSetTypeConstraint FileSaverFilePropertyInfo = IsFile
type AttrOrigin FileSaverFilePropertyInfo Source # 
type AttrLabel FileSaverFilePropertyInfo Source # 
type AttrLabel FileSaverFilePropertyInfo = "file"
type AttrGetType FileSaverFilePropertyInfo Source # 
type AttrGetType FileSaverFilePropertyInfo = File
type AttrBaseTypeConstraint FileSaverFilePropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverFilePropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverFilePropertyInfo Source # 
type AttrAllowedOps FileSaverFilePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructFileSaverFile :: (IsFileSaver o, IsFile a) => a -> IO (GValueConstruct o) Source #

fileSaverFile :: AttrLabelProxy "file" Source #

flags

data FileSaverFlagsPropertyInfo Source #

Instances

AttrInfo FileSaverFlagsPropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverFlagsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverFlagsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverFlagsPropertyInfo :: * -> Constraint

type AttrGetType FileSaverFlagsPropertyInfo :: *

type AttrLabel FileSaverFlagsPropertyInfo :: Symbol

type AttrOrigin FileSaverFlagsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverFlagsPropertyInfo o => Proxy * FileSaverFlagsPropertyInfo -> o -> IO (AttrGetType FileSaverFlagsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverFlagsPropertyInfo o, AttrSetTypeConstraint FileSaverFlagsPropertyInfo b) => Proxy * FileSaverFlagsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverFlagsPropertyInfo o => Proxy * FileSaverFlagsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverFlagsPropertyInfo o, AttrSetTypeConstraint FileSaverFlagsPropertyInfo b) => Proxy * FileSaverFlagsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverFlagsPropertyInfo Source # 
type AttrSetTypeConstraint FileSaverFlagsPropertyInfo = * ~ [FileSaverFlags]
type AttrOrigin FileSaverFlagsPropertyInfo Source # 
type AttrLabel FileSaverFlagsPropertyInfo Source # 
type AttrLabel FileSaverFlagsPropertyInfo = "flags"
type AttrGetType FileSaverFlagsPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverFlagsPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverFlagsPropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverFlagsPropertyInfo Source # 
type AttrAllowedOps FileSaverFlagsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructFileSaverFlags :: IsFileSaver o => [FileSaverFlags] -> IO (GValueConstruct o) Source #

fileSaverFlags :: AttrLabelProxy "flags" Source #

location

data FileSaverLocationPropertyInfo Source #

Instances

AttrInfo FileSaverLocationPropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverLocationPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverLocationPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverLocationPropertyInfo :: * -> Constraint

type AttrGetType FileSaverLocationPropertyInfo :: *

type AttrLabel FileSaverLocationPropertyInfo :: Symbol

type AttrOrigin FileSaverLocationPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverLocationPropertyInfo o => Proxy * FileSaverLocationPropertyInfo -> o -> IO (AttrGetType FileSaverLocationPropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverLocationPropertyInfo o, AttrSetTypeConstraint FileSaverLocationPropertyInfo b) => Proxy * FileSaverLocationPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverLocationPropertyInfo o => Proxy * FileSaverLocationPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverLocationPropertyInfo o, AttrSetTypeConstraint FileSaverLocationPropertyInfo b) => Proxy * FileSaverLocationPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverLocationPropertyInfo Source # 
type AttrSetTypeConstraint FileSaverLocationPropertyInfo = IsFile
type AttrOrigin FileSaverLocationPropertyInfo Source # 
type AttrLabel FileSaverLocationPropertyInfo Source # 
type AttrLabel FileSaverLocationPropertyInfo = "location"
type AttrGetType FileSaverLocationPropertyInfo Source # 
type AttrGetType FileSaverLocationPropertyInfo = File
type AttrBaseTypeConstraint FileSaverLocationPropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverLocationPropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverLocationPropertyInfo Source # 
type AttrAllowedOps FileSaverLocationPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructFileSaverLocation :: (IsFileSaver o, IsFile a) => a -> IO (GValueConstruct o) Source #

fileSaverLocation :: AttrLabelProxy "location" Source #

newlineType

data FileSaverNewlineTypePropertyInfo Source #

Instances

AttrInfo FileSaverNewlineTypePropertyInfo Source # 

Associated Types

type AttrAllowedOps FileSaverNewlineTypePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint FileSaverNewlineTypePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo :: * -> Constraint

type AttrGetType FileSaverNewlineTypePropertyInfo :: *

type AttrLabel FileSaverNewlineTypePropertyInfo :: Symbol

type AttrOrigin FileSaverNewlineTypePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo o => Proxy * FileSaverNewlineTypePropertyInfo -> o -> IO (AttrGetType FileSaverNewlineTypePropertyInfo)

attrSet :: (AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo o, AttrSetTypeConstraint FileSaverNewlineTypePropertyInfo b) => Proxy * FileSaverNewlineTypePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo o => Proxy * FileSaverNewlineTypePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo o, AttrSetTypeConstraint FileSaverNewlineTypePropertyInfo b) => Proxy * FileSaverNewlineTypePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint FileSaverNewlineTypePropertyInfo Source # 
type AttrSetTypeConstraint FileSaverNewlineTypePropertyInfo = * ~ NewlineType
type AttrOrigin FileSaverNewlineTypePropertyInfo Source # 
type AttrLabel FileSaverNewlineTypePropertyInfo Source # 
type AttrLabel FileSaverNewlineTypePropertyInfo = "newline-type"
type AttrGetType FileSaverNewlineTypePropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo Source # 
type AttrBaseTypeConstraint FileSaverNewlineTypePropertyInfo = IsFileSaver
type AttrAllowedOps FileSaverNewlineTypePropertyInfo Source # 
type AttrAllowedOps FileSaverNewlineTypePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

fileSaverNewlineType :: AttrLabelProxy "newlineType" Source #