gi-gtk-0.3.18.13: Gtk 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.Gtk.Objects.Image

Contents

Description

 

Synopsis

Exported types

newtype Image Source

Constructors

Image (ForeignPtr Image) 

Instances

GObject Image Source 
((~) * info (ResolveImageMethod t Image), MethodInfo * info Image p) => IsLabel t (Image -> p) Source 

Methods

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

((~) * info (ResolveImageMethod t Image), MethodInfo * info Image p) => IsLabelProxy t (Image -> p) Source 

Methods

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

type ParentTypes Image Source 
type AttributeList Image Source 
type SignalList Image Source 

class GObject o => ImageK o Source

Instances

Methods

imageClear

data ImageClearMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m ()), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageClearMethodInfo a signature Source 

Methods

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

imageClear :: (MonadIO m, ImageK a) => a -> m () Source

imageGetAnimation

data ImageGetAnimationMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m PixbufAnimation), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageGetAnimationMethodInfo a signature Source 

imageGetAnimation :: (MonadIO m, ImageK a) => a -> m PixbufAnimation Source

imageGetGicon

data ImageGetGiconMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m (Icon, Int32)), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageGetGiconMethodInfo a signature Source 

imageGetGicon :: (MonadIO m, ImageK a) => a -> m (Icon, Int32) Source

imageGetIconName

imageGetIconSet

imageGetIconSet :: (MonadIO m, ImageK a) => a -> m (IconSet, Int32) Source

Deprecated: (Since version 3.10)Use gtk_image_get_icon_name() instead.

imageGetPixbuf

data ImageGetPixbufMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m Pixbuf), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageGetPixbufMethodInfo a signature Source 

imageGetPixbuf :: (MonadIO m, ImageK a) => a -> m Pixbuf Source

imageGetPixelSize

imageGetStock

data ImageGetStockMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m (Text, Int32)), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageGetStockMethodInfo a signature Source 

imageGetStock :: (MonadIO m, ImageK a) => a -> m (Text, Int32) Source

Deprecated: (Since version 3.10)Use gtk_image_get_icon_name() instead.

imageGetStorageType

imageNew

imageNewFromAnimation

imageNewFromAnimation :: (MonadIO m, PixbufAnimationK a) => a -> m Image Source

imageNewFromFile

imageNewFromGicon

imageNewFromGicon :: (MonadIO m, IconK a) => a -> Int32 -> m Image Source

imageNewFromIconName

imageNewFromIconSet

imageNewFromIconSet :: MonadIO m => IconSet -> Int32 -> m Image Source

Deprecated: (Since version 3.10)Use gtk_image_new_from_icon_name() instead.

imageNewFromPixbuf

imageNewFromPixbuf :: (MonadIO m, PixbufK a) => Maybe a -> m Image Source

imageNewFromResource

imageNewFromStock

imageNewFromStock :: MonadIO m => Text -> Int32 -> m Image Source

Deprecated: (Since version 3.10)Use gtk_image_new_from_icon_name() instead.

imageNewFromSurface

imageSetFromAnimation

data ImageSetFromAnimationMethodInfo Source

Instances

((~) (TYPE Lifted) signature (b -> m ()), MonadIO m, ImageK a, PixbufAnimationK b) => MethodInfo (TYPE Lifted) ImageSetFromAnimationMethodInfo a signature Source 

imageSetFromAnimation :: (MonadIO m, ImageK a, PixbufAnimationK b) => a -> b -> m () Source

imageSetFromFile

data ImageSetFromFileMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Maybe [Char] -> m ()), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageSetFromFileMethodInfo a signature Source 

imageSetFromFile :: (MonadIO m, ImageK a) => a -> Maybe [Char] -> m () Source

imageSetFromGicon

data ImageSetFromGiconMethodInfo Source

Instances

((~) (TYPE Lifted) signature (b -> Int32 -> m ()), MonadIO m, ImageK a, IconK b) => MethodInfo (TYPE Lifted) ImageSetFromGiconMethodInfo a signature Source 

imageSetFromGicon :: (MonadIO m, ImageK a, IconK b) => a -> b -> Int32 -> m () Source

imageSetFromIconName

imageSetFromIconName :: (MonadIO m, ImageK a) => a -> Text -> Int32 -> m () Source

imageSetFromIconSet

imageSetFromIconSet :: (MonadIO m, ImageK a) => a -> IconSet -> Int32 -> m () Source

Deprecated: (Since version 3.10)Use gtk_image_set_from_icon_name() instead.

imageSetFromPixbuf

data ImageSetFromPixbufMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Maybe b -> m ()), MonadIO m, ImageK a, PixbufK b) => MethodInfo (TYPE Lifted) ImageSetFromPixbufMethodInfo a signature Source 

imageSetFromPixbuf :: (MonadIO m, ImageK a, PixbufK b) => a -> Maybe b -> m () Source

imageSetFromResource

imageSetFromStock

imageSetFromStock :: (MonadIO m, ImageK a) => a -> Text -> Int32 -> m () Source

Deprecated: (Since version 3.10)Use gtk_image_set_from_icon_name() instead.

imageSetFromSurface

data ImageSetFromSurfaceMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Surface -> m ()), MonadIO m, ImageK a) => MethodInfo (TYPE Lifted) ImageSetFromSurfaceMethodInfo a signature Source 

imageSetFromSurface :: (MonadIO m, ImageK a) => a -> Surface -> m () Source

imageSetPixelSize

imageSetPixelSize :: (MonadIO m, ImageK a) => a -> Int32 -> m () Source

Properties

File

getImageFile :: (MonadIO m, ImageK o) => o -> m Text Source

setImageFile :: (MonadIO m, ImageK o) => o -> Text -> m () Source

Gicon

constructImageGicon :: IconK a => a -> IO ([Char], GValue) Source

getImageGicon :: (MonadIO m, ImageK o) => o -> m Icon Source

setImageGicon :: (MonadIO m, ImageK o, IconK a) => o -> a -> m () Source

IconName

setImageIconName :: (MonadIO m, ImageK o) => o -> Text -> m () Source

IconSet

setImageIconSet :: (MonadIO m, ImageK o) => o -> IconSet -> m () Source

IconSize

setImageIconSize :: (MonadIO m, ImageK o) => o -> Int32 -> m () Source

Pixbuf

constructImagePixbuf :: PixbufK a => a -> IO ([Char], GValue) Source

getImagePixbuf :: (MonadIO m, ImageK o) => o -> m Pixbuf Source

setImagePixbuf :: (MonadIO m, ImageK o, PixbufK a) => o -> a -> m () Source

PixbufAnimation

constructImagePixbufAnimation :: PixbufAnimationK a => a -> IO ([Char], GValue) Source

getImagePixbufAnimation :: (MonadIO m, ImageK o) => o -> m PixbufAnimation Source

setImagePixbufAnimation :: (MonadIO m, ImageK o, PixbufAnimationK a) => o -> a -> m () Source

PixelSize

setImagePixelSize :: (MonadIO m, ImageK o) => o -> Int32 -> m () Source

Resource

setImageResource :: (MonadIO m, ImageK o) => o -> Text -> m () Source

Stock

getImageStock :: (MonadIO m, ImageK o) => o -> m Text Source

setImageStock :: (MonadIO m, ImageK o) => o -> Text -> m () Source

StorageType

Surface

getImageSurface :: (MonadIO m, ImageK o) => o -> m Surface Source

setImageSurface :: (MonadIO m, ImageK o) => o -> Surface -> m () Source

UseFallback

setImageUseFallback :: (MonadIO m, ImageK o) => o -> Bool -> m () Source