gi-atk-2.0.11: Atk 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.Atk.Objects.Misc

Contents

Description

A set of utility functions for thread locking. This interface and all his related methods are deprecated since 2.12.

Synopsis

Exported types

newtype Misc Source #

Constructors

Misc (ManagedPtr Misc) 

Instances

GObject Misc Source # 

Methods

gobjectType :: Misc -> IO GType #

IsObject Misc Source # 
IsMisc Misc Source # 
((~) * info (ResolveMiscMethod t Misc), MethodInfo * info Misc p) => IsLabel t (Misc -> p) Source # 

Methods

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

((~) * info (ResolveMiscMethod t Misc), MethodInfo * info Misc p) => IsLabelProxy t (Misc -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Misc -> p #

HasAttributeList * Misc Source # 
type AttributeList Misc Source # 
type SignalList Misc Source # 

toMisc :: IsMisc o => o -> IO Misc Source #

Methods

getInstance

miscGetInstance Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Misc

Returns: The singleton instance of AtkMisc for this application.

Deprecated: Since 2.12.

Obtain the singleton instance of AtkMisc for this application.

Since: 1.13

threadsEnter

data MiscThreadsEnterMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsMisc a) => MethodInfo * MiscThreadsEnterMethodInfo a signature Source # 

miscThreadsEnter Source #

Arguments

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

misc: an AtkMisc instance for this application.

-> m () 

Deprecated: Since 2.12.

Take the thread mutex for the GUI toolkit, if one exists. (This method is implemented by the toolkit ATK implementation layer; for instance, for GTK+, GAIL implements this via GDK_THREADS_ENTER).

Since: 1.13

threadsLeave

data MiscThreadsLeaveMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsMisc a) => MethodInfo * MiscThreadsLeaveMethodInfo a signature Source # 

miscThreadsLeave Source #

Arguments

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

misc: an AtkMisc instance for this application.

-> m () 

Deprecated: Since 2.12.

Release the thread mutex for the GUI toolkit, if one exists. This method, and atk_misc_threads_enter, are needed in some situations by threaded application code which services ATK requests, since fulfilling ATK requests often requires calling into the GUI toolkit. If a long-running or potentially blocking call takes place inside such a block, it should be bracketed by atk_misc_threads_leave/atk_misc_threads_enter calls. (This method is implemented by the toolkit ATK implementation layer; for instance, for GTK+, GAIL implements this via GDK_THREADS_LEAVE).

Since: 1.13