gi-gdk-4.0.7: Gdk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Objects.Snapshot

Description

Base type for snapshot operations.

The subclass of GdkSnapshot used by GTK is Gtk.Snapshot.

Synopsis

Exported types

newtype Snapshot Source #

Memory-managed wrapper type.

Constructors

Snapshot (ManagedPtr Snapshot) 

Instances

Instances details
Eq Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

GObject Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

ManagedPtrNewtype Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

Methods

toManagedPtr :: Snapshot -> ManagedPtr Snapshot

TypedObject Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

Methods

glibType :: IO GType

HasParentTypes Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

IsGValue (Maybe Snapshot) Source #

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

Instance details

Defined in GI.Gdk.Objects.Snapshot

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes Snapshot Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

type ParentTypes Snapshot = '[Object]

class (GObject o, IsDescendantOf Snapshot o) => IsSnapshot o Source #

Type class for types which can be safely cast to Snapshot, for instance with toSnapshot.

Instances

Instances details
(GObject o, IsDescendantOf Snapshot o) => IsSnapshot o Source # 
Instance details

Defined in GI.Gdk.Objects.Snapshot

toSnapshot :: (MonadIO m, IsSnapshot o) => o -> m Snapshot Source #

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

Methods